修改登录失败不会提示问题
This commit is contained in:
parent
e2fd3356af
commit
3ca37645ae
@ -134,7 +134,8 @@ export default {
|
||||
this.msgSuccess('登录成功')
|
||||
this.$router.push({ path: this.redirect || '/' })
|
||||
})
|
||||
.catch(() => {
|
||||
.catch((error) => {
|
||||
this.msgError(error.msg);
|
||||
this.loading = false
|
||||
this.getCode()
|
||||
this.$refs.codeTxt.focus()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user