mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-05 10:13:51 +08:00
v3.10.1 【紧急优化】smart-app 查询用户消息相关业务
This commit is contained in:
@@ -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