没有人气啊,是太低级了不屑回答吗,我对照网上别人的例子看了看,自问自答好了
是这样的
在"title": "首页",这级目录里面,后面加上,xtype: 'treepanel',将他定义为一棵树,
在"children:{}"外面,需要包裹一个root,也就是{
    "tree": [{
        "title": "首页",
        "xtype": 'treepanel'"permission": "111",
        "root": {
            "children": [{
                "title": "normal",
                "link": "notice",
                "count": "noti_count",
                "permission": "111",
                "icon": "home_icon"
            },
            {
                "title": "messages",
                "link": "messages",
                "permission": "111",
                "icon": "message_icon"
            },
            {
                "title": "contacts",
                "link": "contacts",
                "permission": "111",
                "icon": "contact_icon"
            }]
        }
    }
}