jt
2022-08-08 0b881c7d7ec046c848147ac635e6417bdea9121d
pages/login/index.vue
@@ -281,7 +281,7 @@
            this.$data.login="loading......";
            //登录
            this.$store.dispatch('login',loginInfo).then(success=>{
               // console.log(success);
               console.log(success);
               if (success.code == '00000') {
                  //设置全局参数:user-用户信息
                  uni.setStorageSync('server',loginInfo.server);
@@ -303,7 +303,7 @@
                  this.login="开始登录";
               }
            }).catch(ex=>{
               // console.log(ex);
               console.log(ex);
               uni.showModal({title:"错误",content:ex.errMsg,showCancel:false,confirmText:"取消"});
               this.login="开始登录";
            });