Commit b438551b authored by 李苏's avatar 李苏 💬

登录优化

parent 271314b9
...@@ -222,7 +222,13 @@ ...@@ -222,7 +222,13 @@
password: loginParams.encodePWD, password: loginParams.encodePWD,
newPassword:md5(this.password) newPassword:md5(this.password)
} }
// this.loading=true; this.loading=true;
setTimeout(()=>{
if(this.loading==true){
this.loading=false
this.$tip.toast('请检查网络,或服务器设置');
}
},3000)
this.mLogin(params).then((res) => { this.mLogin(params).then((res) => {
this.loading=false; this.loading=false;
if(res.data.success){ if(res.data.success){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment