解除重置密码跳转逻辑
This commit is contained in:
parent
81544d580c
commit
7174769903
|
|
@ -505,13 +505,15 @@ 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
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
// target: `http://10.40.92.8:28080`, //超
|
||||
// target: `http://10.40.92.81:8080`, //韩/
|
||||
// target: `http://10.40.92.74:8080`,//旭/
|
||||
target: `http://10.40.92.141:28080`, //帅
|
||||
target: `http://10.40.92.136:28080`, //帅
|
||||
// target: `http://10.40.92.253:28080`, //福
|
||||
|
||||
//******** 注意事项 ********* */
|
||||
|
|
|
|||
Loading…
Reference in New Issue