ソースを参照

树结构基础操作问题

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 };
     }