diff --git a/.env.development b/.env.development index 75d458d..77d49e7 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ VUE_APP_MODE=development VUE_APP_NODE_ENV=development VUE_APP_SCENE=/datang/ -VUE_APP_BASE_URL=http://test.tall.wiki/ +VUE_APP_BASE_URL=http://test.tall.wiki VUE_APP_API_URL=http://test.tall.wiki/datang/v1.0 VUE_APP_PROXY_URL=/datang/v1.0 VUE_APP_PUBLIC_PATH=/datang diff --git a/.env.production b/.env.production index 44a0ffe..cf94baf 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,7 @@ VUE_APP_MODE=production VUE_APP_NODE_ENV=production VUE_APP_SCENE=/datang/ -VUE_APP_BASE_URL=http://test.tall.wiki/ +VUE_APP_BASE_URL=http://test.tall.wiki VUE_APP_API_URL=http://test.tall.wiki/datang/v1.0 VUE_APP_PROXY_URL=/datang/v1.0 VUE_APP_PUBLIC_PATH=/datang diff --git a/src/components/BayWindow/BayWindow.vue b/src/components/BayWindow/BayWindow.vue index 6ba6b1c..94e5081 100644 --- a/src/components/BayWindow/BayWindow.vue +++ b/src/components/BayWindow/BayWindow.vue @@ -87,7 +87,7 @@ export default { openPage() { this.$router.push({ path: '/notice', - query: { code: '0505' }, + query: { code: '0505', introId: this.content.content.id }, }); }, }, diff --git a/src/components/Carousel/Carousel.vue b/src/components/Carousel/Carousel.vue index e7af86a..e385fa6 100644 --- a/src/components/Carousel/Carousel.vue +++ b/src/components/Carousel/Carousel.vue @@ -47,6 +47,7 @@ export default { methods: { async getImg() { try { + if (this.code.length !== 4) return; const params = { param: { showPage: this.code } }; const res = await carouselQuery(params); const { data, code, msg } = res.data; diff --git a/src/components/Footer/Footer.vue b/src/components/Footer/Footer.vue index 99bf767..e945417 100644 --- a/src/components/Footer/Footer.vue +++ b/src/components/Footer/Footer.vue @@ -8,21 +8,23 @@