20260927215912
This commit is contained in:
1 parent
27e49e2e45
commit
f22e67fc85
294 files changed
+29247
-3576
No files matched your search
@@ -62,9 +62,14 @@ view 里备注列(`b_bz`)固定排到最后。
|
||||
|
||||
```json
|
||||
view: {"schemaVersion":1,"columns":[{"field":"b_id","width":123},{"field":"b_name","width":122}]}
|
||||
edit: {"schemaVersion":1,"children":[{"field":"b_id","span":24},{"field":"b_name","span":24}]}
|
||||
edit: {"schemaVersion":2,"children":[{"type":"row","children":[{"field":"b_id","span":24}]},{"type":"row","children":[{"field":"b_name","span":24}]}]}
|
||||
```
|
||||
|
||||
edit 的行是显式结构:`children` 由「行节点 + 分组节点」构成,每个行节点
|
||||
`{"type":"row","children":[字段节点...]}` 就是表单的一行,行内 `sum(span) ≤ 24`。
|
||||
字段节点上不再有 `newline`(v1 的「另起一行」标记已废弃,断行改由新增行节点表达)。
|
||||
工具生成时每个字段独占一行(`span:24`),与旧渲染一致。
|
||||
|
||||
`col_ShowSummary` / `col_DisplayFormat` / `col_CanSearch` / `col_ReadOnly` / `col_DefaultValue` /
|
||||
`col_edit_type` 等旧库列在 V2 的 JSON 契约里没有对应位置(`schemaRender.js` 只读
|
||||
`field` / `width` / `visible` / `options`),本工具不带迁移。
|
||||
|
||||
Reference in new issue
Block a user