mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 07:14:23 +00:00
Merge branch 'fix/history-records' into 'develop'
fix: 修复初始页面就有两条历史记录 See merge request !1581812
This commit is contained in:
commit
f77b1dc0fa
@ -86,7 +86,7 @@ export class DocumentModel {
|
||||
}
|
||||
|
||||
get fileName(): string {
|
||||
return this.rootNode?.getExtraProp('fileName')?.getAsString() || this.id;
|
||||
return this.rootNode?.getExtraProp('fileName', false)?.getAsString() || this.id;
|
||||
}
|
||||
|
||||
set fileName(fileName: string) {
|
||||
|
||||
@ -57,7 +57,6 @@ export class History {
|
||||
this.emitter.emit('statechange', currentState);
|
||||
}
|
||||
}
|
||||
// }
|
||||
});
|
||||
}, { fireImmediately: true });
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user