Browse Source

无JIRA任务 assert

es6
windy 5 years ago
parent
commit
f045d477db
  1. 4
      src/base/tree/ztree/treetrender.page.service.js

4
src/base/tree/ztree/treetrender.page.service.js

@ -56,8 +56,8 @@
}, },
removeNodeList: function (tId) { removeNodeList: function (tId) {
this.nodeLists[tId].loadWidget.destroy(); this.nodeLists[tId] && this.nodeLists[tId].loadWidget.destroy();
this.nodeLists[tId].loadWidget = null; this.nodeLists[tId] && (this.nodeLists[tId].loadWidget = null);
delete this.nodeLists[tId]; delete this.nodeLists[tId];
if (BI.size(this.nodeLists) === 0) { if (BI.size(this.nodeLists) === 0) {
this.clear(); this.clear();

Loading…
Cancel
Save