yangan
2024-07-02 a8cf1ec3eb69af71833a59c7b0f8adf5c4f5ad48
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) => {
            })
         }
      }
   };