destructor: function () {
var self = this,
id,
i,
view,
children = self.get('children');
id = self.get(id);
for (i = 0; i < children.length; i++) {
children[i].destroy && children[i].destroy();
}
self.get('view').destroy();
Manager.removeComponent(id);
}
destructor: function () { var self = this, id, i, view, children = self.get('children'); id = self.get(id); for (i = 0; i < children.length; i++) { children[i].destroy && children[i].destroy(); } self.get('view').destroy(); Manager.removeComponent(id); }
id = self.get(id); 是不是应该为 id = self.get('id');