@@ -215,7 +215,7 @@
let loginParams = {
remember_me: that.formLogin.rememberMe
}
- that.loading = true
+ that.loading = true;
// 使用账户密码登陆
if (that.customActiveKey === 'tab1') {
that.form.validateFields(['username', 'password', 'inputCode'], { force: true }, (err, values) => {
@@ -228,7 +228,10 @@
}).catch((err) => {
that.requestFailed(err)
})
-
+ }else{
+ setTimeout(function() {
+ that.loading = false;
+ },1000)
// 使用手机号登陆