MaiXinRong 3 年之前
父節點
當前提交
9e6695d259
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/lib/sum_load.js

+ 1 - 0
app/lib/sum_load.js

@@ -17,6 +17,7 @@ class loadGclBaseTree {
     constructor (ctx, setting) {
         this.ctx = ctx;
         this.parent = setting.parent;
+        this.parent.children = [];
         this.defaultData = setting.defaultData;
         // 常量
         this.splitChar = '-';