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