在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删除。