From 7174769903dbf08e2a966b1547e96068010dbb1b Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Tue, 28 May 2024 11:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=99=A4=E9=87=8D=E7=BD=AE=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/newLogin.vue | 16 +++++++++------- sgzb-ui/vue.config.js | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sgzb-ui/src/views/newLogin.vue b/sgzb-ui/src/views/newLogin.vue index 4b323102..0d5097fa 100644 --- a/sgzb-ui/src/views/newLogin.vue +++ b/sgzb-ui/src/views/newLogin.vue @@ -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 diff --git a/sgzb-ui/vue.config.js b/sgzb-ui/vue.config.js index 85aa6a46..a9ef72d5 100644 --- a/sgzb-ui/vue.config.js +++ b/sgzb-ui/vue.config.js @@ -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`, //福 //******** 注意事项 ********* */