去除重庆默认密码登录转跳重置密码页
This commit is contained in:
parent
d8c426d527
commit
1667fca06c
|
|
@ -431,13 +431,14 @@ export default {
|
||||||
this.$store
|
this.$store
|
||||||
.dispatch('Login', this.loginForm)
|
.dispatch('Login', this.loginForm)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
if (localStorage.getItem('isCode') == 1) {
|
// if (localStorage.getItem('isCode') == 1) {
|
||||||
this.$router
|
// this.$router
|
||||||
.push({ path: '/resetPassword' })
|
// .push({ path: '/resetPassword' })
|
||||||
.catch(() => {})
|
// .catch(() => {})
|
||||||
} else {
|
// } else {
|
||||||
|
// this.$router.push({ path: '/' }).catch(() => {})
|
||||||
|
// }
|
||||||
this.$router.push({ path: '/' }).catch(() => {})
|
this.$router.push({ path: '/' }).catch(() => {})
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue