From 52f3e36fa3d28cf9274c63508b57a10494a5951f Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Tue, 14 Oct 2025 17:47:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 577 ++++++++++++++++++---------------- src/views/login/ywgllogin.vue | 3 +- vue.config.js | 4 +- 3 files changed, 316 insertions(+), 268 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 5aaa7cd..a091740 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,288 +1,337 @@ - - + + diff --git a/src/views/login/ywgllogin.vue b/src/views/login/ywgllogin.vue index 769cfd9..2a5da49 100644 --- a/src/views/login/ywgllogin.vue +++ b/src/views/login/ywgllogin.vue @@ -236,6 +236,7 @@ export default { * 只传递token */ getLoginByNameAndTokenJ() { + debugger console.log(window.location.href); let url=window.location.href.split("?"); let tokens=''; @@ -271,8 +272,6 @@ export default { .catch(() => { this.loading = false }) - - // this.$message.error("用户token为空"); } else { window.location.href = 'http://sgwpdm.ah.sgcc.com.cn/'; diff --git a/vue.config.js b/vue.config.js index bbbf8cf..9948b05 100644 --- a/vue.config.js +++ b/vue.config.js @@ -24,7 +24,7 @@ module.exports = { * In most cases please use '/' !!! * Detail: https://cli.vuejs.org/config/#publicpath */ - publicPath: process.env.ENV === 'production' ? '/zhgd-ht/' : '/zhgd-ht/', + publicPath: process.env.ENV === 'production' ? '/gdwebs/zhgd-ht/' : '/gdwebs/zhgd-ht/', outputDir: 'dist', assetsDir: 'static', lintOnSave: false, @@ -37,7 +37,7 @@ module.exports = { [process.env.VUE_APP_BASE_API]: { // target: `http://36.33.26.201:19090/zhgd`, // target: `http://27.50.49.56:8000/zhgd`, - target: `http://192.168.0.38:13030/zhgd`, + target: `http://192.168.0.7:19090/zhgd`, // target: `http://11.158.16.194:21624/zhgd`, changeOrigin: true, pathRewrite: {