update JTable

This commit is contained in:
赵霄
2023-08-25 15:58:06 +08:00
parent b6c2b702e4
commit 91a649d1fe
+2
View File
@@ -235,6 +235,8 @@ export default {
col.width = col.width && parseInt(col.width + '')
// 如果没有最小宽度就获取统一设置的最小宽度
col.minWidth = (col.minWidth && parseInt(col.minWidth + '')) || this.columnMinWidth
// 如果没有配置align,就默认居中
col.align = col.align || 'center'
if (!col.scopedSlots) {
col.scopedSlots = {
customRender: 'text'