el-table表格加上border属性,边框错位问题。
在el-table表格上加上border属性后,边框错位问题。
原因:是由于页面缩放导致的。
在App.vue或者index.html加上下面一种样式即可。
解决一:
body .el-table th.gutter{
display: table-cell!important;
}
解决二:
body .el-table--boder th.gutter:last-of-type {
display: block !important
}

浙公网安备 33010602011771号