Browse Source

添加表格表头icon图标

fix_bug_pro20231227
qb 1 year ago
parent
commit
ae90134810
  1. 3
      src/components/tablecmt/tablecmt.vue
  2. 17
      vite.config.js

3
src/components/tablecmt/tablecmt.vue

@ -160,6 +160,9 @@
<el-text class="mx-1 tabtitles" @click.stop @dblclick.stop="copyalls(column)">{{
column.label
}}</el-text>
<el-icon v-if="column.type == 1 || column.type == 2 || column.type == 3"
><DocumentCopy
/></el-icon>
</div>
</div>
</template>

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

Loading…
Cancel
Save