EasyUI 1.4.4 tree控件中,如果是叶子节点,切忌把state设置为closed,否则该节点会加载整个tree,形成死循环
例如:
json入下:
1 [ 2 { 3 "checked": false, 4 "iconCls": "", 5 "id": "4028938153173288015317343dec0001", 6 "pid": "", 7 "state": "closed", 8 "text": "test2", 9 "type": "ORG" 10 } 11 ]
状态改为open或者为空,显示正常
时间: 2024-10-10 06:01:24