소스 검색

树结构基础操作问题

MaiXinRong 1 년 전
부모
커밋
2deface163
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/base/base_tree_service.js

+ 1 - 0
app/base/base_tree_service.js

@@ -988,6 +988,7 @@ class TreeService extends Service {
         for (const p of newPath) {
             updateData = updateData.concat(await this.getDataByFullPath(mid, p + '-%'));
         }
+        updateData = updateData.concat(await this.getDataById(selects.map(x => { return x.id; })));
         // 选中节点--原前兄弟节点&全部后兄弟节点
         return { update: updateData };
     }