From 251cc3290959d2085aa3359d6f74d97db914d182 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期日, 22 十月 2023 00:44:22 +0800
Subject: [PATCH] 修改了表格的行高,以及数据过长的部分用省略号表示

---
 ruoyi-ui/vue.config.js |   32 +++++++-------------------------
 1 files changed, 7 insertions(+), 25 deletions(-)

diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js
index 767a3eb..69186eb 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,27 +35,21 @@
     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: `https://47.93.189.255: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 +91,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 +135,4 @@
         }
       )
   }
-
 }

--
Gitblit v1.9.1