我被Dojo坑出翔
坑尼玛爹的Dojo Tree
ObjectStoreModel.jsgetChildren: function(/*Object*/ parentItem, /*function(items)*/ onComplete, /*function*/ onError){ // summary: // Calls onComplete() with array of child items of given parent item. // parentItem: // Item from the dojo/store var id = this.store.getIdentity(parentItem); if(this.childrenCache[id]){ when(this.childrenCache[id], onComplete, onError); return; }