diff --git a/src/page/login/userlogin.vue b/src/page/login/userlogin.vue index 37ee3d8..855b87a 100644 --- a/src/page/login/userlogin.vue +++ b/src/page/login/userlogin.vue @@ -147,7 +147,7 @@ export default { let params = { ...this.loginForm, username: "admin", - password: "admin", + password: "111111", ticket: this.ticket } this.ByUsernameCallback(params) @@ -173,7 +173,9 @@ export default { this.$store.dispatch('jlHelpShow', false) this.$router.push({ path: this.tagWel.value }); loading.close(); + this.proLoading = false }).catch(() => { + this.proLoading = false loading.close(); this.refreshCode(); }); diff --git a/vue.config.js b/vue.config.js index daacde0..394142f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,7 +23,7 @@ module.exports = { port: 1888, proxy: { "/api": { - target: 'http://10.165.0.173:8000', + target: 'http://192.168.3.215:8000', ws: true, changeOrigin: true, pathRewrite: {