ProForm 的主要功能是预设了很多 layout,如果需要切换只需要改变外面包裹的 Layout 即可,以下是个 demo。
{ "copyIconProps": { "show": true, "Icon": "CopyOutlined", "tooltipText": "复制此行" }, "deleteIconProps": { "show": true, "Icon": "DeleteOutlined", "tooltipText": "删除此行" }, "creatorButtonProps": { "show": true, "creatorButtonText": "新建一行", "position": "button", "type": "dashed", "icon": "PlusOutlined" } }