mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: setSchema 后没有重新渲染问题
This commit is contained in:
parent
a11585a543
commit
8beeca84aa
@ -70,6 +70,7 @@ export class Project {
|
||||
// FIXME: 这里的行为和 getSchema 并不对等,感觉不太对
|
||||
const doc = this.documents.find((doc) => doc.active);
|
||||
doc && doc.import(schema?.componentsTree[0]);
|
||||
this.simulator?.rerender();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user