This commit is contained in:
Putoo
2026-04-28 16:17:19 +08:00
parent 2996fa712c
commit 29b76bab65
5 changed files with 37 additions and 30 deletions

View File

@@ -49,10 +49,11 @@ export const useUserStore = defineStore('user', {
},
// 退出登录:清空用户状态
clearUserInfo() {
offOnline() {
this.token = '',
this.refToken='',
this.sid=''
this.sid='',
this.userId = ''
}
},