在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 }
在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 }
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。