调试环境正常,发布时统一发布前后台

This commit is contained in:
ShaoHua
2026-03-11 22:32:52 +08:00
parent 295a05d4ae
commit 5c1c27bf58
8 changed files with 82 additions and 3 deletions
+1
View File
@@ -4,4 +4,5 @@ import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
base: './', // 关键:使用相对路径,确保在本地文件协议下能正确加载资源
})