代码拉取完成,页面将自动刷新
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"text"
],
"properties": {
"key": {
"type": ["string", "number", "integer", "boolean", "null"],
"description": "节点唯一标识(可选),不传,则以 value 为准"
},
"value": {
"type": ["string", "number", "integer", "boolean", "null"],
"description": "节点的值域(必选)"
},
"text": {
"type": "string",
"description": "节点的文本说明(必选)"
},
"selected": {
"type": "boolean",
"description": "是否选中当前节点(可选),默认 false"
},
"disabled": {
"type": "boolean",
"description": "是否禁用当前节点(可选),默认 false,不禁用"
},
"isleaf": {
"type": "boolean",
"description": "是否是叶子节点(可选),默认 false,为 true 时,会忽略 children"
},
"children": {
"type": "array",
"description": "子节点列表(可选)",
"items": {
"$ref": "#/items"
}
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。