1 Commits

Author SHA1 Message Date
zhuoda
b3b20bc029 v3.10.1 【紧急优化】smart-app 查询用户消息相关业务 2024-11-21 18:57:39 +08:00

View File

@@ -99,7 +99,9 @@ export const useUserStore = defineStore({
uni.setStorageSync(USER_TOKEN, data.token); uni.setStorageSync(USER_TOKEN, data.token);
// 获取用户未读消息 // 获取用户未读消息
this.queryUnreadMessageCount(); if(this.token){
this.queryUnreadMessageCount();
}
}, },
}, },
}); });