From a0c2cffcab6b2c3d9065ea9575afade5bad0f741 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 8 Oct 2024 14:19:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BB=E5=87=BA=E6=97=B6=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E5=AD=97=E5=85=B8=E4=BC=9A=E9=80=A0=E6=88=90bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/store/auth.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/web-antd/src/store/auth.ts b/apps/web-antd/src/store/auth.ts index 95da371f..41d380f4 100644 --- a/apps/web-antd/src/store/auth.ts +++ b/apps/web-antd/src/store/auth.ts @@ -13,8 +13,6 @@ import { defineStore } from 'pinia'; import { doLogout, getUserInfoApi, loginApi, seeConnectionClose } from '#/api'; import { $t } from '#/locales'; -import { useDictStore } from './dict'; - export const useAuthStore = defineStore('auth', () => { const accessStore = useAccessStore(); const userStore = useUserStore(); @@ -81,9 +79,6 @@ export const useAuthStore = defineStore('auth', () => { } catch (error) { console.error(error); } finally { - // 需要清除字典缓存 - const dictStore = useDictStore(); - dictStore.resetCache(); resetAllStores(); accessStore.setLoginExpired(false);