效果图对比
代码
tableCellStyle () {
return { border: 'none' }
},
tableHeaderCellStyle () {
return { border: 'none' }
}
坑
必须返回对象格式,不然会报错
vue.runtime.esm.js?0261:619 [Vue warn]: Invalid prop: type check failed for prop "headerCellStyle". Expected Object, Function, got String with value "border: none".
found in
--->