docs: 修复ConditionBuilder文档中tree模式格式代码示例错误导致的下拉框无法被选中问题 (#6086)

This commit is contained in:
iceqing 2023-02-05 13:17:04 +08:00 committed by GitHub
parent a05c704947
commit 64b5bf5602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -599,23 +599,34 @@ selectMode 为`tree`时
children: [ children: [
{ {
"label": "Folder A", "label": "Folder A",
"type": "tree",
"name": "Folder_A",
"type": "number",
"value": 1, "value": 1,
"children": [ "children": [
{ {
"label": "file A", "label": "file A",
"value": 2 "value": 2,
"name": "file_A",
"type": "number",
}, },
{ {
"label": "Folder B", "label": "Folder B",
"value": 3, "value": 3,
"name": "Folder_B",
"type": "number",
"children": [ "children": [
{ {
"label": "file b1", "label": "file b1",
"value": 3.1 "value": 3.1,
"name": "file_b1",
"type": "number"
}, },
{ {
"label": "file b2", "label": "file b2",
"value": 3.2 "value": 3.2,
"name": "file_b2",
"type": "number"
} }
] ]
} }