From 56189daa3b46dbdca20b24993133075c38c6ecfd Mon Sep 17 00:00:00 2001 From: yuyang Date: Thu, 12 Jan 2023 17:08:22 +0800 Subject: [PATCH] chore: fix surge deploy (#396) * chore: fix surge deploy * chore: fix type --- .env | 3 +-- .env.development | 3 +-- .env.site | 1 - src/layouts/components/Header.vue | 6 +++--- src/pages/detail/advanced/index.vue | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.env b/.env index 7e878e0..1b6a998 100644 --- a/.env +++ b/.env @@ -1,3 +1,2 @@ -VITE_SOME_KEY=123 # 打包路径 根据项目不同按需配置 -VITE_BASE_URL = ./ \ No newline at end of file +VITE_BASE_URL = / \ No newline at end of file diff --git a/.env.development b/.env.development index afed627..79debef 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,2 @@ -VITE_SOME_KEY=456 # 打包路径 -VITE_BASE_URL = ./ +VITE_BASE_URL = / diff --git a/.env.site b/.env.site index c017250..0050436 100644 --- a/.env.site +++ b/.env.site @@ -1,3 +1,2 @@ -VITE_SOME_KEY=123 # 打包路径 根据项目不同按需配置 VITE_BASE_URL = https://static.tdesign.tencent.com/starter/vue-next/ \ No newline at end of file diff --git a/src/layouts/components/Header.vue b/src/layouts/components/Header.vue index 0fbf8ce..07917f9 100644 --- a/src/layouts/components/Header.vue +++ b/src/layouts/components/Header.vue @@ -1,6 +1,6 @@