MaiXinRong 1 год назад
Родитель
Сommit
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 };
     }