mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +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;
|
||||
if (!this.inited) {
|
||||
if (this.inited) {
|
||||
schema.id = null;
|
||||
}
|
||||
if (schema.id) {
|
||||
|
||||
@ -760,7 +760,7 @@ export class Node<Schema extends NodeSchema = NodeSchema> {
|
||||
if (addon) {
|
||||
return addon.exportData();
|
||||
}
|
||||
return this.getExtraProp(key)?.value;
|
||||
return this.getExtraProp(key)?.getValue();
|
||||
}
|
||||
/**
|
||||
* @deprecated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user