From 16b3368a6a44b380969b58609932c6d0c0e3332b Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期二, 18 三月 2025 13:35:46 +0800 Subject: [PATCH] 成品下单-退回可以重新提交 --- vue.config.js | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index 14e2478..172f3c9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,7 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.0.170:8002`, + target: `http://localhost:8001`, changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "", @@ -59,6 +59,19 @@ "@": resolve("src"), }, }, + module: { + rules: [ + { + test: /\.worker\.js$/, + use: { + loader: "worker-loader", + options: { + inline: "fallback", + }, + }, + }, + ], + }, plugins: [ // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#浣跨敤gzip瑙e帇缂╅潤鎬佹枃浠� new CompressionPlugin({ -- Gitblit v1.9.3