Merge commit 'c48d61acb5b4d280300bf4ba70a5271ba00d71d0' into def_releases_2021101911333232_ali-lowcode_ali-lowcode-engine/1.0.70

This commit is contained in:
tbfed 2021-10-20 15:07:37 +08:00
commit ccd67ffad6

View File

@ -446,7 +446,9 @@ export function leafWrapper(Comp: types.IBaseRenderer, {
LeafWrapper.displayName = (Comp as any).displayName;
cache.component.set(schema.componentName, LeafWrapper);
if (curDocumentId) {
cache.component.set(schema.componentName, LeafWrapper);
}
return LeafWrapper;
}