解除重置密码跳转逻辑

This commit is contained in:
BianLzhaoMin 2024-05-28 11:27:39 +08:00
parent 81544d580c
commit 7174769903
2 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -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`, //福
//******** 注意事项 ********* */