From dab59f7624a2fb8d4114bb67b554ff09d91f810c Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 四月 2025 13:07:36 +0800 Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable --- vue.config.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1d8e525..467e75f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,8 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.0.104:8002`, + // target: `http://10.21.10.124:8001`, //鏈湴 + target: `http://192.168.18.50:7002`, //娴嬭瘯搴� changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "", @@ -59,6 +60,20 @@ "@": resolve("src"), }, }, + module: { + rules: [ + { + test: /\.worker\.js$/, + use: { + loader: "worker-loader", + options: { + inline: "fallback", + filename: "[name].[contenthash].worker.js", // 娣诲姞鍐呭鍝堝笇鍒版枃浠跺悕 + }, + }, + }, + ], + }, plugins: [ // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#浣跨敤gzip瑙e帇缂╅潤鎬佹枃浠� new CompressionPlugin({ -- Gitblit v1.9.3