From de6ab64a820ddf509f00c4fce6e0020fdb2a71bd Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Thu, 24 Apr 2025 16:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 1 + src/views/super/Ranking/Ranking.vue | 1 + vue.config.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .env.production diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..31c4e99 --- /dev/null +++ b/.env.production @@ -0,0 +1 @@ +VUE_APP_BASE_API=http://adminnew.pengda.checkcopy.com \ No newline at end of file diff --git a/src/views/super/Ranking/Ranking.vue b/src/views/super/Ranking/Ranking.vue index 83576e5..45291ab 100644 --- a/src/views/super/Ranking/Ranking.vue +++ b/src/views/super/Ranking/Ranking.vue @@ -27,6 +27,7 @@ export default { }, mounted() { this.path = this.$route.path; + if(this.$route.query.str) localStorage.setItem('token', this.$route.query.str) }, methods: {} } diff --git a/vue.config.js b/vue.config.js index 05b2118..a54b5c0 100755 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,6 @@ const path = require('path'); module.exports = { - publicPath: '/new/', + // publicPath: '/new/', devServer: { proxy: { '/supernew': {