amis/mock/form/getTreeOptions.json

26 lines
840 B
JSON

{
"status": 0,
"msg": "ok",
"data": {
"options": [
{ "label": "Option A", "value": "a",
"children": [
{ "label": "Option X", "value": "x" },
{ "label": "Option Y", "value": "y" },
{ "label": "Option Z", "value": "z" }
]
},
{ "label": "Option B", "value": "b",
"collapsed": true,
"children": [
{ "label": "Option 1", "value": "1" },
{ "label": "Option 2", "value": "2" },
{ "label": "Option 3", "value": "3" }
] },
{ "label": "Option C", "value": "c" },
{ "label": "Option D", "value": "d" },
{ "label": "Option E", "value": "e" }
]
}
}