diff --git a/packages/amis-editor/src/plugin/Form/InputTable.tsx b/packages/amis-editor/src/plugin/Form/InputTable.tsx index 5449bf410..4315718b8 100644 --- a/packages/amis-editor/src/plugin/Form/InputTable.tsx +++ b/packages/amis-editor/src/plugin/Form/InputTable.tsx @@ -1071,6 +1071,16 @@ export class TableControlPlugin extends BasePlugin { name: 'affixHeader', label: '是否固定表头', 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', { name: 'rowClassName', label: '行样式' + }), + getSchemaTpl('className', { + name: 'toolbarClassName', + label: '工具栏' }) ] })