EasyUI 1.4.4 tree控件中,如果是叶子节点,切忌把state设置为closed,否则该节点会加载整个tree,形成死循环
例如:
json入下:
[
{
"checked": false,
"iconCls": "",
"id": "4028938153173288015317343dec0001",
"pid": "",
"state": "closed",
"text": "test2",
"type": "ORG"
}
]
状态改为open或者为空,显示正常
[
{
"checked": false,
"iconCls": "",
"id": "4028938153173288015317343dec0001",
"pid": "",
"state": "closed",
"text": "test2",
"type": "ORG"
}
]
状态改为open或者为空,显示正常