$(function(){
$('#tt').tree({
checkbox: true,
url: '${ctx}/asset/tree_data1.json',
method: 'get',
onClick:function(node){
alert('you click '+node.text);
}
});
});
使用此方法加载json资源文件时候发生405错误, 解决方法将post请求改为get