From 4f55c0255e5e68b3685d1510062dff6e1e3dbc48 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 16 四月 2025 14:13:07 +0800
Subject: [PATCH] 1

---
 vue.config.js |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 3e59ffc..0e775f0 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -15,6 +15,23 @@
 //瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions
 // 杩欓噷鍙垪涓�閮ㄥ垎锛屽叿浣撻厤缃弬鑰冩枃妗�
 module.exports = {
+  transpileDependencies: ["vue-json-excel"], //杩欓噷鏄皢寮曠敤鐨勬彃浠惰浆鎴恊s5锛屽叿浣撹浆鍝釜 鐪嬫祻瑙堝櫒鎺у埗鍙板摢涓姤閿欏氨濂戒簡
+  // pages: {
+  //   index: {
+  //     // add here ---start---
+
+  //     entry: ["node_modules/@babel/polyfill/dist/polyfill.js", "src/main.js"], //杩欓噷鐨勮矾鍔蹭竴瀹氳鍐欒嚜宸辩殑锛屽師浣滆�呯殑璺緞涓庢垜鐨勪笉鍚�
+
+  //     // add here ---end---
+
+  //     template: "public/index.html",
+
+  //     filename: "index.html",
+
+  //     chunks: ["chunk-vendors", "chunk-common", "index"],
+  //   },
+  // },
+
   // 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆�
   // 榛樿鎯呭喌涓嬶紝Vue CLI 浼氬亣璁句綘鐨勫簲鐢ㄦ槸琚儴缃插湪涓�涓煙鍚嶇殑鏍硅矾寰勪笂
   // 渚嬪 https://www.ruoyi.vip/銆傚鏋滃簲鐢ㄨ閮ㄧ讲鍦ㄤ竴涓瓙璺緞涓婏紝浣犲氨闇�瑕佺敤杩欎釜閫夐」鎸囧畾杩欎釜瀛愯矾寰勩�備緥濡傦紝濡傛灉浣犵殑搴旂敤琚儴缃插湪 https://www.ruoyi.vip/admin/锛屽垯璁剧疆 baseUrl 涓� /admin/銆�
@@ -35,16 +52,27 @@
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`,
-        // target: `http://192.168.0.104:5011`,
+        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
+        // target: `http://192.168.1.2:5011`,
+        target: `http://192.168.1.113:5011`,
         // // target: `http://192.168.0.99:8080/ltkj-admin`,
-        target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
+        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
         // target: `http://10.168.0.9:5011`,
         changeOrigin: true,
         pathRewrite: {
           ["^" + process.env.VUE_APP_BASE_API]: "",
         },
       },
+      '/douban':{
+        target:'http://192.168.1.3:14765',
+        changeOrigin:true,
+        ws: true,
+        pathRewrite: {
+          '^/douban': '',
+        },
+       
+      },
+
     },
     disableHostCheck: true,
   },

--
Gitblit v1.8.0