From fd8a16e3f8c1b731a9840be1fc63f88e4c7ebb24 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期一, 29 四月 2024 22:11:32 +0800
Subject: [PATCH] 完善了会议申请模块
---
ruoyi-ui/vue.config.js | 35 +++++++++--------------------------
1 files changed, 9 insertions(+), 26 deletions(-)
diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index 767a3eb..9a022ef 100644
--- a/ruoyi-ui/vue.config.js
+++ b/ruoyi-ui/vue.config.js
@@ -7,9 +7,9 @@
const CompressionPlugin = require('compression-webpack-plugin')
-const name = process.env.VUE_APP_TITLE || '寮犳皬APP' // 缃戦〉鏍囬
+const name = process.env.VUE_APP_TITLE || '鑻ヤ緷绠$悊绯荤粺' // 缃戦〉鏍囬
-const port = process.env.port || process.env.npm_config_port || 8088 // 绔彛
+const port = process.env.port || process.env.npm_config_port || 80 // 绔彛
// vue.config.js 閰嶇疆璇存槑
//瀹樻柟vue.config.js 鍙傝�冩枃妗� https://cli.vuejs.org/zh/config/#css-loaderoptions
@@ -33,29 +33,24 @@
port: port,
open: true,
proxy: {
- // detail: https://cli.vuejs.org/config/#devserver-proxy
+ // detail: https://cli.vuewww.bendudu.comjs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- // target: `http://localhost:8080`,
- target: `http://47.93.189.255:8080`,
+ // target: `https://10.39.18.174:8080/`,
+ target: 'https://www.bendudu.com:8080/',
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
}
}
},
+ https: true,
disableHostCheck: true
},
css: {
loaderOptions: {
- // sass: {
- // sassOptions: { outputStyle: "expanded" }
- // }
- postcss:{
- plugins:[
- require('postcss-px2rem')({
- remUnit:192
- })
- ]
+ sass: {
+ sassOptions: { outputStyle: "expanded" },
+
}
}
},
@@ -97,17 +92,6 @@
symbolId: 'icon-[name]'
})
.end()
- //
- // config.module
- // .rule("css")
- // .test(/\.css$/)
- // .oneOf("vue")
- // .resourceQuery(/\?vue/)
- // .use("px2rem")
- // .loader("px2rem-loader")
- // .options({
- // remUnit: 192 // 璁捐绋垮ぇ灏忔瘮渚� / 10
- // });
config
.when(process.env.NODE_ENV !== 'development',
@@ -152,5 +136,4 @@
}
)
}
-
}
--
Gitblit v1.9.1