From 8c320bae338a62201d89a070702e88b2a3911447 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 27 Nov 2024 16:20:58 +0800
Subject: [PATCH] 1.表格无数据中文提示处理 2.控制台警告处理 3.企业详情应急空间报错处理 4.console信息删除

---
 vite.config.js |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/vite.config.js b/vite.config.js
index 2c46e25..8e7571b 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,7 +2,7 @@
  * @Author: shuishen 1109946754@qq.com
  * @Date: 2024-10-25 10:56:27
  * @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-24 03:04:27
+ * @LastEditTime: 2024-11-27 14:15:57
  * @FilePath: \bigScreen\vite.config.js
  * @Description: 
  * 
@@ -56,12 +56,12 @@
         imports: ["vue", "vue-router"], // 自动导入vue和vue-router相关函数
       }),
       viteCompression({
-	      filter: /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i, // 需要压缩的文件
-	      threshold: 512, // 文件容量大于这个值进行压缩
-	      algorithm: 'gzip', // 压缩方式
-	      ext: 'gz', // 后缀名
-	      deleteOriginFile: true, // 压缩后是否删除压缩源文件
-    	})
+        filter: /\.(js|css|json|txt|ico|svg)(\?.*)?$/i, // 需要压缩的文件
+        threshold: 1024, // 文件容量大于这个值进行压缩
+        algorithm: 'gzip', // 压缩方式
+        ext: 'gz', // 后缀名
+        deleteOriginFile: false, // 压缩后是否删除压缩源文件
+      })
     ],
 
     css: {
@@ -114,12 +114,12 @@
           rewrite: path => path.replace(/^\/zhyq\/newMx/, ''),
         },
 
-        '/zhyq/mx': {
-          // target: 'http://localhost',
-          target: 'https://wrj.shuixiongit.com/zhyq/mx',
-          changeOrigin: true,
-          rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
-        },
+        // '/zhyq/mx': {
+        //   // target: 'http://localhost',
+        //   target: 'https://wrj.shuixiongit.com/zhyq/mx',
+        //   changeOrigin: true,
+        //   rewrite: path => path.replace(/^\/zhyq\/mx/, ''),
+        // },
 
         '/zhyqapi': {
           // target: 'http://localhost:8082',

--
Gitblit v1.9.3