From b33b533dac745a687ef25520faf68c34969f90ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=BB=B6=E7=A6=8F?= <> Date: Fri, 22 Aug 2025 16:00:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:vuex=E5=8F=91=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 91d034d..ccb4c1a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ const resolve = (dir) => { return path.join(__dirname, dir); }; module.exports = defineConfig({ - publicPath: process.env.VUE_APP_EXPOSES_URL, + publicPath: "./", productionSourceMap: process.env.NODE_ENV !== "production", transpileDependencies: true, lintOnSave: true, // 在保存时校验格式 @@ -65,6 +65,7 @@ module.exports = defineConfig({ name: "prevention", filename: "prevention.js", exposes: { + "./store": "./src/store/index.ts", // 包保责任制 "./preventionBlank": "./src/views/blank.component.vue", // 包保责任制 "./majorHazard": "./src/views/responsibility/majorHazard/majorHazard.component.vue", // 包保责任制