Merge branch feat/mobx-rendererPerformanceOptimization into feat/0.16.12

Title: fix: setSchema 后没有重新渲染问题 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/6549490
This commit is contained in:
lihao.ylh 2021-09-24 09:55:54 +08:00
commit f798b3a81e

View File

@ -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();
}
/**