diff --git a/sgzb-ui/src/views/login.vue b/sgzb-ui/src/views/login.vue index d54f1621..fd177173 100644 --- a/sgzb-ui/src/views/login.vue +++ b/sgzb-ui/src/views/login.vue @@ -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