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 = '-';