chore: 🔨 注释文案优化

This commit is contained in:
Ray.Hao
2025-05-19 12:40:51 +08:00
parent 859f3e0cc3
commit 08a396eeb6
5 changed files with 7 additions and 7 deletions

View File

@@ -94,9 +94,9 @@ export const useUserStore = defineStore("user", () => {
*/
function clearSessionAndCache() {
return new Promise<void>((resolve) => {
clearToken();
usePermissionStoreHook().resetRouter();
useDictStoreHook().clearDictCache();
usePermissionStoreHook().resetRouter();
clearToken();
userInfo.value = {} as UserInfo;
resolve();
});