mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +00:00
fix: use the original object if it is not a shell object
This commit is contained in:
parent
30267cb173
commit
5ea53f706b
@ -157,8 +157,8 @@ export default class DocumentModel {
|
||||
copy?: boolean | undefined,
|
||||
) {
|
||||
const node = this[documentSymbol].insertNode(
|
||||
parent[nodeSymbol] as any,
|
||||
thing?.[nodeSymbol],
|
||||
parent[nodeSymbol] ? parent[nodeSymbol] : parent,
|
||||
thing?.[nodeSymbol] ? thing[nodeSymbol] : thing,
|
||||
at,
|
||||
copy,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user