mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 21:20:28 +00:00
fix: export data
This commit is contained in:
parent
0e75b8e4a0
commit
41f7724ac3
@ -484,7 +484,7 @@ export class DocumentModel {
|
||||
|
||||
// add toData
|
||||
toData(extraComps?: string[]) {
|
||||
const node = this.project?.currentDocument?.export(TransformStage.Save);
|
||||
const node = this.export(TransformStage.Save);
|
||||
const data = {
|
||||
componentsMap: this.getComponentsMap(extraComps),
|
||||
componentsTree: [node],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user