diff --git a/.env.production b/.env.production index 028ff9b..4efdea3 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ VUE_APP_MODE=production VUE_APP_NODE_ENV=production -VUE_APP_SCENE=/ +VUE_APP_SCENE=/v1.0/datang/ VUE_APP_BASE_URL=http://10.119.190.12:8000 VUE_APP_API_URL=http://10.119.190.12:8000/v1.0 VUE_APP_PROXY_URL=/v1.0 -VUE_APP_PUBLIC_PATH= -VUE_APP_MSG_URL=wss://192.168.101.69:8000/websocket/message/v4.0/ws +VUE_APP_PUBLIC_PATH=/v1.0/datang +VUE_APP_MSG_URL=wss://10.119.190.12:8000/websocket/message/v4.0/ws VUE_APP_TITLE=大唐 VUE_APP_DESCRIPTION=大唐 diff --git a/src/components/LeftNav/LeftNav.vue b/src/components/LeftNav/LeftNav.vue index 3626e12..4a325e0 100644 --- a/src/components/LeftNav/LeftNav.vue +++ b/src/components/LeftNav/LeftNav.vue @@ -64,7 +64,9 @@ export default { } if (!url) { if (this.code && code !== this.code) { - this.$router.push({ query: { code: childCode } }); + // this.$router.push({ query: { code: childCode } }); + const path = window.location.href.split('?') + window.location.href= path[0]+`?code=${childCode}` this.$emit('changeCode', code); this.childCode = code; } else if (code === this.code) { diff --git a/src/components/ListPage/ListPage.vue b/src/components/ListPage/ListPage.vue index 4adc673..cc9189f 100644 --- a/src/components/ListPage/ListPage.vue +++ b/src/components/ListPage/ListPage.vue @@ -10,7 +10,7 @@ -
+