feat:配置修改

feature1.3
吴延福 2025-08-22 14:52:35 +08:00
parent 288ef5dd47
commit 621b0d7d13
2 changed files with 2 additions and 2 deletions

View File

@ -18,4 +18,4 @@ VUE_APP_ALL_MENU = false
# VUE_APP_EXPOSES_URL="http://192.168.1.20:8090" # VUE_APP_EXPOSES_URL="http://192.168.1.20:8090"
VUE_APP_REMOTES_URL="" VUE_APP_REMOTES_URL=""
# 当前应用部署地址 # 当前应用部署地址
VUE_APP_EXPOSES_URL="/prevention/" VUE_APP_EXPOSES_URL="http://192.168.1.121/prevention/"

View File

@ -7,7 +7,7 @@ const resolve = (dir) => {
return path.join(__dirname, dir); return path.join(__dirname, dir);
}; };
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: "./", publicPath: process.env.VUE_APP_EXPOSES_URL,
productionSourceMap: process.env.NODE_ENV !== "production", productionSourceMap: process.env.NODE_ENV !== "production",
transpileDependencies: true, transpileDependencies: true,
lintOnSave: true, // 在保存时校验格式 lintOnSave: true, // 在保存时校验格式