Skip to content
4 changes: 2 additions & 2 deletions packages/canvas/container/src/composables/useMultiDrag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ export const useMultiDrag = () => {
removeNode(op.sourceId)
})

// 然后插入所有节点到目标位置
operations.forEach((op) => {
// 然后按照原始顺序插入所有节点到目标位置
Comment thread
SonyLeo marked this conversation as resolved.
Outdated
operations.reverse().forEach((op) => {
Comment thread
hexqi marked this conversation as resolved.
Outdated
// 对于body特殊处理
if (isBodyTarget) {
// 判断是否是放置到body内的特定位置(TOP或BOTTOM)
Expand Down