From ae90134810a34707e39597e2311778180cc77a27 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Fri, 13 Oct 2023 20:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=A1=A8=E6=A0=BC=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4icon=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tablecmt/tablecmt.vue | 3 +++ vite.config.js | 17 +++++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index ffb1c38b..44df37f3 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -160,6 +160,9 @@ {{ column.label }} + diff --git a/vite.config.js b/vite.config.js index 2df1ebbf..528ccce5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -16,14 +16,15 @@ export default ({ mode, command }) => { // hy // target: 'http://192.168.10.48:8888', // lmy - // target: 'http://192.168.10.123:8889', + // target: 'http://192.168.10.123:8889', // caoge // target: 'http://192.168.10.101:8888', // cyz // target: 'http://192.168.10.75:8777', // tjj - target: 'http://192.168.10.29:13000', - // target: 'http://test.api.huitongys.com', + // target: 'http://192.168.10.29:13000', + target: 'http://test.api.huitongys.com', + // target: 'http://h5uapi.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), }, @@ -45,16 +46,12 @@ export default ({ mode, command }) => { output: { // 分包 manualChunks(id) { - if (id.includes("node_modules")) { - return id - .toString() - .split("node_modules/")[1] - .split("/")[0] - .toString(); + if (id.includes('node_modules')) { + return id.toString().split('node_modules/')[1].split('/')[0].toString(); } }, }, }, - } + }, }); };