摘要: ztree的数据格式可以有两种 一、children层级 如下: [{ name: "企业基本信息", parentId: "0", id: "04", children: [ { name: "minsfasf信息", parentId: "04", id: "040", }, ], }] 二、p 阅读全文
posted @ 2020-12-30 11:06 星空飘渺 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: ztree 官网:http://www.treejs.cn/v3/api.php 数据格式: JSON var nodes = [ {name: "父节点1", children: [ {name: "子节点1"}, {name: "子节点2"} ]} ]; pId 即 paraent-Id, 最顶 阅读全文
posted @ 2020-12-30 10:55 星空飘渺 阅读(1038) 评论(0) 推荐(0) 编辑