DialogFormLayout
DialogFormLayout 用来在 ctx.viewer.dialog() 打开的 dialog 里放置标准表单。它负责统一标题区、内容区和底部按钮。
它只处理外壳,不接管表单实例、校验和接口请求。表单本身仍然由你用 Antd Form 来写。
基本用法
短表单或确认类表单默认用 DialogFormLayout。调用方需要在 ctx.viewer.dialog() 上传 closable: true,让 Antd Modal 渲染原生关闭按钮。
API
相关链接
- DrawerFormLayout — 在 drawer 里放置标准表单

