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': {