From d1a9e391c8b1a1a45031de6586bf2b6aa4c3cced Mon Sep 17 00:00:00 2001 From: chenHusky <377075038@qq.com> Date: Fri, 22 Jul 2022 16:33:00 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/login.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shared/login.js b/src/shared/login.js index e574507..9891403 100644 --- a/src/shared/login.js +++ b/src/shared/login.js @@ -31,7 +31,6 @@ function setStatus(status) { // 存储用户id及token,用于下次登录 export function saveUserAuth(token, info) { if (!info && !token) { - authId = ''; localStorage.removeItem(LOGIN_KEYS.USER_INFO); localStorage.removeItem(LOGIN_KEYS.USER_TOKEN); resetStore(); -- Gitee