jt
2023-02-09 d9d1b4332986fae66a00ef1f309d50560588920c
pages/login/index.vue
@@ -283,6 +283,13 @@
            this.$store.dispatch('login',loginInfo).then(success=>{
               console.log(success);
               if (success.code == '00000') {
                  //登录成功后清空缓存数据
                  this.$store.commit("areaFunc",null);
                  this.$store.commit("classAttrList",null);
                  this.$store.commit("classGridStyleInfo",null);
                  this.$store.commit("dicValueInfo",null);
                  this.$store.commit("subClassAttrList",null);
                  this.$store.commit("subClassGridStyleInfo",null);
                  //设置全局参数:user-用户信息
                  uni.setStorageSync('server',loginInfo.server);
                  // uni.setStorageSync('account',loginInfo.uname);
@@ -298,6 +305,7 @@
                  //    url:'../index/index?args=9999999999'
                  // });
                  this.login="开始登录";
               }else{
                  uni.showModal({title:"错误",content:success.msg,showCancel:false,confirmText:"取消"});
                  this.login="开始登录";