- 注册时间
- 2012-3-31
- 最后登录
- 2019-4-2
- 阅读权限
- 150
- 积分
- 18852
- 精华
- 0
- 帖子
- 8776
|
返回一个树形数据,比如子节点以children来显示子节点
{id:1,text:2,
children:[{......}]
}
或者列表数据,以比子节点以如 pid来对应父节点的id
[
{id: "base", text: "Base", expanded: false},
{id: "ajax", text: "Ajax", pid: "base"},
{id: "json", text: "JSON", pid: "base"},
......
] |
|