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 | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 57f3239..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,8 +52,9 @@ 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: `http://10.168.0.9:5011`, @@ -45,6 +63,16 @@ ["^" + 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