update JTable
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user