1 data: [ 2 { text: '节点1', icon: myaccount, children: [ 3 { text: '节点1.1', icon: archives }, 4 { text: '节点1.2', icon: archives }, 5 { text: '节点1.3', icon: myaccount, children: [ 6 { text: '节点1.3.1', icon: archives }, 7 { text: '节点1.3.2', icon: archives } 8 ] 9 }, 10 { text: '节点1.4', icon: archives } 11 ] 12 }, 13 { text: '节点2', icon: memeber }, 14 { text: '节点3', icon: memeber }, 15 { text: '节点4', icon: memeber } 16 ]
然后使用 LigerUI中的Tree控件,就可以列出无限极分类.....