roymondchen
|
9f21f8f1d5
|
refactor(form): 抽出 TableGroupList 父组件统一管理 Table/GroupList 切换
- 新增 TableGroupList 父组件集中持有 displayMode 状态并派生两种形态的
config,避免原实现通过直接改写 props.config 来触发视图切换
- 将公共的 toggle/add 按钮上移到 TableGroupList,Table/GroupList 通过
具名 slot + scoped slot 暴露位置与业务钩子(newHandler/addHandler)
- m-form-table、m-form-group-list 统一注册为 TableGroupList,对外导出
的 MTable/MGroupList 也指向它,新增 MTableGroupList 显式导出
- useAdd 移除重复的 addable 计算,由父组件统一管理
Made-with: Cursor
|
2026-04-23 17:03:04 +08:00 |
|
roymondchen
|
ac755ac3d0
|
feat(form): group-list 支持 max 限制和 beforeAddRow 前置校验
- group-list 新增 max 配置项,限制最大行数
- group-list 支持 beforeAddRow 异步前置校验回调
- table 的 beforeAddRow 支持返回 Promise
Made-with: Cursor
|
2026-04-23 15:06:45 +08:00 |
|
roymondchen
|
e8714c96c9
|
feat(form-schema,form,editor,table): 完善表单配置类型
|
2026-03-20 17:38:11 +08:00 |
|
roymondchen
|
1297939db2
|
style(table): table全屏后居中显示
|
2025-11-12 19:52:31 +08:00 |
|
roymondchen
|
08b476e04f
|
feat(design,editor,element-plus-adapter,form,table,tdesign-vue-next-adapter): 重构table组件,适配tdesign
|
2025-11-12 19:52:30 +08:00 |
|