From cd0cd874e5c0850a139ff79c46b176a8b46d550a Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Fri, 11 Aug 2023 14:55:31 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=94=81=E5=B1=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/lock.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/store/modules/lock.ts b/src/store/modules/lock.ts index 508109f..851cd43 100644 --- a/src/store/modules/lock.ts +++ b/src/store/modules/lock.ts @@ -48,13 +48,14 @@ export const useLockStore = defineStore({ const tryLogin = async () => { try { const username = userStore.getUserInfo.userName; - userStore.setAccessToken(''); - userStore.setRefreshToken(''); const res = await userStore.login({ username, password: password, goHome: false, - clientId: 'kicc_lock' + clientId: 'kicc_lock', + options: { + withToken: false + } }); if (res) this.resetLockInfo(); return res;