20260927215912
This commit is contained in:
1 parent
27e49e2e45
commit
f22e67fc85
294 files changed
+29247
-3576
No files matched your search
@@ -391,7 +391,7 @@ query
|
||||
|
||||
```json
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"schemaVersion": 2,
|
||||
"children": [
|
||||
{
|
||||
"type": "group",
|
||||
@@ -412,6 +412,11 @@ query
|
||||
}
|
||||
```
|
||||
|
||||
**行是显式结构**:一个 `{ "type": "row" }` 节点就是表单的一行,行内字段按 24 格网格排布且
|
||||
`sum(span) ≤ 24`;分组的 `children` 由「行节点 + 子分组节点」构成。行与行之间不会自动合并
|
||||
(一行没排满就留白,这是排布意图),也不会因为宽度折行被拆开,因此**没有 `newline` 属性**——
|
||||
v1 用「平铺字段 + `newline` 标记 + 按宽度折行推导行」,v2 起废弃,旧数据加载时按折行规则容错。
|
||||
|
||||
表单 JSON 可以描述字段的展示和交互行为,例如:
|
||||
|
||||
```json
|
||||
|
||||
Reference in new issue
Block a user