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(); } }, }, }, - } + }, }); };