yangan
2024-06-12 98b5d9063b885f6705a89efc45607aea1b166f2c
pages/login/userPassword.vue
@@ -90,6 +90,7 @@
                        this.$reqGet('getUserEntity')
                           .then(res => {
                    this.$u.toast('登录成功');
               this.getLoginInfo(); // 记录登录信息
                    this.setUserTabbar(res.data.type);
                    uni.setStorageSync('roleType', res.data.type);
                    uni.setStorageSync("userId", res.data.userId)
@@ -145,6 +146,12 @@
                  this.$u.toast(e);
               });
         },
         //记录登录信息
         getLoginInfo(){
            this.$reqPost('setApplogonTime').then((res) => {
            })
         }
      }
   };