chore(openspec): track toolbar/selection/scroll in fe-admin-user-page
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b181d2cd0c
commit
ddeb15c9ad
@ -21,7 +21,7 @@
|
||||
|
||||
### D2. 组件分层(基础组件 + 整页组合)
|
||||
- 基础组件:`ty-form`(JSON Schema 表单,字段支持 `width`)、`ty-search-form`(搜索 + 折叠/展开,`collapseCount` 默认 2,查询/重置置右)、`ty-table`(列配置 + 分页 + 操作列插槽)、`ty-form-dialog`(弹窗 + schema 表单 + 校验提交)。
|
||||
- 整页组件:`ty-crud`(组合搜索/工具栏/表格/弹窗/删除),props 传 `columns/searchSchema/formSchema/list/create/update/remove/actions` 等;操作列数据驱动(内置 `'edit'/'delete'` 或自定义动作),超过 `collapseCount`(默认 2)时折叠为「更多」下拉。
|
||||
- 整页组件:`ty-crud`(组合搜索/工具栏/表格/弹窗/删除),props 传 `columns/searchSchema/formSchema/list/create/update/remove/actions` 等;操作列数据驱动(内置 `'edit'/'delete'` 或自定义动作),超过 `collapseCount`(默认 2)时折叠为「更多」下拉;工具条 justify-between(左新增/`#toolbar`、右批量 `#toolbar-right` + `selectedRows`),支持 `selection` 多选,卡片铺满剩余空间、列表内滚动。
|
||||
- 类型放 `src/types/crud.ts`(JsonSchema/JsonSchemaProperty/TableColumn/PageResult/PageQuery/CrudAction)。
|
||||
|
||||
### D3. 数据:页面内联 + setTimeout
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 1ee3ed28a593b7c533ad1863988ccc7e1c79f9de
|
||||
Subproject commit bc26c0aa93d8ad229e4c4a899f420df640165df8
|
||||
Loading…
x
Reference in New Issue
Block a user