在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
}
