From 8b7e44a4d4f8ac06d23089868c563e1cd38a661e Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 29 四月 2025 14:42:58 +0800
Subject: [PATCH] 1.原材料下单路由跳转修改
---
vue.config.js | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 14e2478..26e5a99 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,20 @@
"@": resolve("src"),
},
},
+ module: {
+ rules: [
+ {
+ test: /\.worker\.js$/,
+ use: {
+ loader: "worker-loader",
+ options: {
+ filename: "[name].[contenthash].worker.js", // 娣诲姞鍐呭鍝堝笇鍒版枃浠跺悕
+ inline: "fallback",
+ },
+ },
+ },
+ ],
+ },
plugins: [
// http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#浣跨敤gzip瑙e帇缂╅潤鎬佹枃浠�
new CompressionPlugin({
--
Gitblit v1.9.3