MaiXinRong 3 years ago
parent
commit
9e6695d259
1 changed files with 1 additions and 0 deletions
  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 = '-';