feat:相对路径修正

feature1.3
吴延福 2025-08-22 14:49:03 +08:00
parent 28d2638a3a
commit 288ef5dd47
1 changed files with 1 additions and 1 deletions

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: process.env.VUE_APP_EXPOSES_URL, publicPath: "./",
productionSourceMap: process.env.NODE_ENV !== "production", productionSourceMap: process.env.NODE_ENV !== "production",
transpileDependencies: true, transpileDependencies: true,
lintOnSave: true, // 在保存时校验格式 lintOnSave: true, // 在保存时校验格式