首页 新闻 会员 周边

Jstree问题

0
悬赏园豆:20 [已关闭问题] 关闭于 2016-11-24 08:31
复制代码
$('#TreeView').jstree({
            "core": {
                'data': {
                    'url': "/TeamCenter/GetIntroTree/",
                    'data': function (node) {
                        return { 'root': node.id };
                    }
                },
            },
            types: {
                "default": {
                    "icon": "fa fa-folder tree-item-icon-color icon-lg"
                },
                "file": {
                    "icon": "fa fa-file tree-item-icon-color icon-lg"
                }
            },
            plugins: [
                'types',
                'contextmenu',
                'wholerow',
                'sort',
                'dnd'
            ]
        });
复制代码

后台的数据是

 

 

 

这个我的js 代码,但是后台获取的数据在前台绑定不上去,哪位大神可以帮我看下,万分感谢!

情若天_RunUp的主页 情若天_RunUp | 初学一级 | 园豆:66
提问于:2016-11-23 08:42
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册