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