mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-04 09:15:16 +00:00
fix: 修复组件不会插入到选中节点之内或者之后的逻辑
This commit is contained in:
parent
6bf75cd526
commit
93b005ba8d
@ -937,7 +937,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.parent) {
|
if (this.parent) {
|
||||||
return this.parent.getSuitablePlace(node, ref);
|
return this.parent.getSuitablePlace(node, { index: this.index });
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user