日期:2014-05-16  浏览次数:20403 次

jquery.easyui.min.js 展现树的bug,高手进来看看。
用下面那个json,展现树,节点展开时,会死循环,子节点展开后,又是这棵树,然后可以无穷展开,到最后浏览器崩溃。
后来实验发现,只有把节点的 "iconCls":"icon-phonebook", 去掉。才能正常显示。"state":"closed"属性指定,也是这个问题。有碰到这个问题的朋友么?
JScript code

[{
        "id":"01",
        "text":"System Manager",
        "state":"closed",
        "children":[{
                    "id":"02",
                    "text":"User Auth Manager",
                    "iconCls":"icon-phonebook",
                    "state":"opened",
                    "children":[{
                                "id":"003",
                                "text":"Menu Manager",
                                "state":"closed"},
                                {
                                "id":"004",
                                "text":"Role Manager",
                                "state":"closed"},
                                {
                                "id":"005",
                                "text":"User Manager",
                                "state":"closed"},
                                {
                                "id":"006",
                                "text":"User Au manager",
                                "state":"closed"}]},
                    {
                    "id":"07",
                    "text":"Dept All Manager",
                    "iconCls":"icon-phonebook",
                    "state":"opened",
                    "children":[{
                                "id":"008",
                                "text":"Dept Manager",
                                "state":"closed"},
                                {
                                "id":"009",
                                "text":"Job Manager",
                                "state":"closed"},
                                {
                                "id":"010",
                                "text":"Title Manager",
                                "state":"closed"}]}]
}]



------解决方案--------------------
所有浏览器都是??