feat(amis-editor): InputTable配置面板补充属性 (#8629)

This commit is contained in:
RUNZE LU 2023-11-10 13:13:23 +08:00 committed by GitHub
parent 5b09a1c96c
commit 01f2132847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1071,6 +1071,16 @@ export class TableControlPlugin extends BasePlugin {
name: 'affixHeader', name: 'affixHeader',
label: '是否固定表头', label: '是否固定表头',
pipeIn: defaultValue(false) pipeIn: defaultValue(false)
}),
getSchemaTpl('switch', {
name: 'showFooterAddBtn',
label: '展示底部新增按钮',
pipeIn: defaultValue(true)
}),
getSchemaTpl('switch', {
name: 'showTableAddBtn',
label: '展示操作列新增按钮',
pipeIn: defaultValue(true)
}) })
] ]
}, },
@ -1080,6 +1090,10 @@ export class TableControlPlugin extends BasePlugin {
getSchemaTpl('className', { getSchemaTpl('className', {
name: 'rowClassName', name: 'rowClassName',
label: '行样式' label: '行样式'
}),
getSchemaTpl('className', {
name: 'toolbarClassName',
label: '工具栏'
}) })
] ]
}) })