From c493582885e64c0e8e6a5b5e621250154e0e80f7 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 16 Nov 2020 11:02:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86--=E7=9A=84=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/base.ts b/src/api/base.ts index db39dca..0558c98 100644 --- a/src/api/base.ts +++ b/src/api/base.ts @@ -23,8 +23,8 @@ export function countadd(){ } export function countdel(){ if(count != 0){ - count--; setTimeout(()=>{ + count--; if(count == 0){ login(); div.style.display = "none" @@ -45,8 +45,8 @@ axios.interceptors.request.use((config)=>{ axios.interceptors.response.use((response)=>{ // console.log(response) if(count != 0){ - count--; setTimeout(()=>{ + count--; if(count == 0){ login(); div.style.display = "none"