1、首先获取json的数据data
2、调用封装好的插件里头的方法
//表格树初始化
TreeTable.init(data.threetree,$(
"#old"
),{
previewTargets:[
"#preview"
]
});
具体的index.html给出了使用示例。