mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
unRegisterComponent 无法被调用到FIX (#4009)
This commit is contained in:
parent
e62a2af1e1
commit
55e3c5a857
@ -401,10 +401,6 @@ export function wrapControl<
|
||||
this.control = control;
|
||||
const scoped = this.context as IScopedContext;
|
||||
|
||||
if (!this.control) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (control) {
|
||||
scoped.registerComponent(this.control);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user