mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 04:43:14 +00:00
fix: should not create new prop while querying fileName
This commit is contained in:
parent
926136d02a
commit
19c207d29d
@ -86,7 +86,7 @@ export class DocumentModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get fileName(): string {
|
get fileName(): string {
|
||||||
return this.rootNode?.getExtraProp('fileName')?.getAsString() || this.id;
|
return this.rootNode?.getExtraProp('fileName', false)?.getAsString() || this.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
set fileName(fileName: string) {
|
set fileName(fileName: string) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user