$.ajax({
url: nodeTreeUrl+"?authkey="+authkey+"&secret="+secret,
dataType: 'json',
cache: false,
success: function(data) {
this.setState({data: data});
console.log(data);
}.bind(this),
error: function(xhr, status, err) {
console.error(nodeTreeUrl, status, err.toString());
}.bind(this)
});
网友评论