mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-23 18:18:12 +00:00
fix generate node id
This commit is contained in:
parent
8bd2dcb324
commit
01712f5e73
@ -170,7 +170,7 @@ export class DocumentModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let node: Node | null = null;
|
let node: Node | null = null;
|
||||||
if (!this.inited) {
|
if (this.inited) {
|
||||||
schema.id = null;
|
schema.id = null;
|
||||||
}
|
}
|
||||||
if (schema.id) {
|
if (schema.id) {
|
||||||
|
|||||||
@ -760,7 +760,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
|||||||
if (addon) {
|
if (addon) {
|
||||||
return addon.exportData();
|
return addon.exportData();
|
||||||
}
|
}
|
||||||
return this.getExtraProp(key)?.value;
|
return this.getExtraProp(key)?.getValue();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user