From 8b62a3ca3b67fd8e45b666043e48a7049dce08ce Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期日, 28 五月 2023 02:13:06 +0800 Subject: [PATCH] 1.将家庭小医生和收藏荣誉模块的的类别改为选择的形式 2.荣誉证书页面的选择式类别暂时无法搜索和新增 --- ruoyi-ui/vue.config.js | 31 ++++++------------------------- 1 files changed, 6 insertions(+), 25 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 767a3eb..0ba49d3 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 @@ -35,8 +35,7 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://localhost:8080`, - target: `http://47.93.189.255:8080`, + target: `http://47.93.189.255:8080/`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' @@ -47,15 +46,9 @@ }, css: { loaderOptions: { - // sass: { - // sassOptions: { outputStyle: "expanded" } - // } - postcss:{ - plugins:[ - require('postcss-px2rem')({ - remUnit:192 - }) - ] + sass: { + sassOptions: { outputStyle: "expanded" }, + } } }, @@ -97,17 +90,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 +134,4 @@ } ) } - } -- Gitblit v1.9.1