// 表头行高与字体
headerStyle () {
return {
'font-size': '14px',
height: '40px',
padding: '0'
}
}
// 内容行高与字体
cellStyle () {
return {
'font-size': '14px',
height: '40px',
padding: '0'
}
}
// el-table列表属性预定义
:header-cell-style="headerStyle"
:cell-style="cellStyle"