amis2/mock/form/getTreeOptions.json

26 lines
840 B
JSON
Raw Normal View History

2019-04-30 11:11:25 +08:00
{
"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" }
]
}
}