Element ui 修改table表格行高
关键代码:
(图片来源网络,侵删)
:row-
:cell-
:header-row-
computed: { iRowStyle: function ({ row, rowIndex }) { return 'height:30px'; }, iHeaderRowStyle: function ({ row, rowIndex }) { return 'height:30px'; }, iCellStyle: function ({ row, column, rowIndex, columnIndex }) { return 'padding:0px' }, },
效果:
(图片来源网络,侵删)
(图片来源网络,侵删)
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。
还没有评论,来说两句吧...