去掉islogin检查
This commit is contained in:
parent
1051c682d3
commit
caa05df2e5
|
|
@ -282,24 +282,25 @@ export default {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
let that = this
|
let that = this
|
||||||
this.loginForm.loginMethod = this.loginMethod
|
this.loginForm.loginMethod = this.loginMethod
|
||||||
this.$store.dispatch('IsLogin', this.loginForm)
|
that.handleLogin()
|
||||||
.then(res => {
|
// this.$store.dispatch('IsLogin', this.loginForm)
|
||||||
if (res.data) {
|
// .then(res => {
|
||||||
this.$modal.confirm('账号已在其他地方登录是否继续登录!!!!').then(function() {
|
// if (res.data) {
|
||||||
return that.handleLogin()
|
// this.$modal.confirm('账号已在其他地方登录是否继续登录!!!!').then(function() {
|
||||||
}).then(() => {
|
// return that.handleLogin()
|
||||||
this.loading = false
|
// }).then(() => {
|
||||||
}).catch(() => {
|
// this.loading = false
|
||||||
this.loading = false
|
// }).catch(() => {
|
||||||
})
|
// this.loading = false
|
||||||
} else {
|
// })
|
||||||
that.handleLogin()
|
// } else {
|
||||||
}
|
// that.handleLogin()
|
||||||
})
|
// }
|
||||||
.catch(() => {
|
// })
|
||||||
this.loading = false
|
// .catch(() => {
|
||||||
if (this.captchaEnabled) this.getCode()
|
// this.loading = false
|
||||||
})
|
// if (this.captchaEnabled) this.getCode()
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue