mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-10 12:43:48 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3b20bc029 |
@@ -99,7 +99,9 @@ export const useUserStore = defineStore({
|
||||
uni.setStorageSync(USER_TOKEN, data.token);
|
||||
|
||||
// 获取用户未读消息
|
||||
this.queryUnreadMessageCount();
|
||||
if(this.token){
|
||||
this.queryUnreadMessageCount();
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user