gaoluyang
2026-03-04 b50f6e4d9b20a46629f993d2cc4c45c12189cf61
src/pages/login.vue
@@ -162,6 +162,13 @@
};
function loginSuccess(result) {
   userStore.getInfo().then(res => {
      const userId = res.user.userId;
      // 登录成功后,将客户端推送标识发送到服务器
      sendClientIdToServer();
      // 启动定时获取未读消息数量的定时器
      startNoticeCountTimer(userId);
   })
   // 设置用户信息
   userStore.getInfo().then(res => {
      uni.switchTab({