Xiao_123 7 月之前
父节点
当前提交
7541db85b0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/store/user.js

+ 1 - 0
src/store/user.js

@@ -140,6 +140,7 @@ export const useUserStore = defineStore('user',
       // 清除缓存
       handleClearStorage () {
         removeToken()
+        this.token = ''
         this.userInfo = {}
         this.baseInfo = {}
         this.accountInfo = {}