mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 05:48:17 +00:00
fix: 缓存包裹过hoc的组件
This commit is contained in:
parent
bae426be2b
commit
4e8c806e6a
@ -462,6 +462,7 @@ export default function baseRenererFactory() {
|
|||||||
// 对于可以获取到ref的组件做特殊处理
|
// 对于可以获取到ref的组件做特殊处理
|
||||||
if (!acceptsRef(Comp)) {
|
if (!acceptsRef(Comp)) {
|
||||||
Comp = compWrapper(Comp);
|
Comp = compWrapper(Comp);
|
||||||
|
components[schema.componentName] = Comp;
|
||||||
}
|
}
|
||||||
otherProps.ref = (ref: any) => {
|
otherProps.ref = (ref: any) => {
|
||||||
this.$(props.fieldId || props.ref, ref); // 收集ref
|
this.$(props.fieldId || props.ref, ref); // 收集ref
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user