el-table border 样式修改
效果图对比代码tableCellStyle () {return { border: 'none' }},tableHeaderCellStyle () {return { border: 'none' }}坑必须返回对象格式,不然会报错vue.runtime.esm.js?0261:619 [Vue warn]: Invalid prop: type check failed for prop
·
效果图对比
代码
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
--->
更多推荐
已为社区贡献1条内容
所有评论(0)