clone: don't unregister clone's children value/prop watchers, just disable their reCreateWidget method
This commit is contained in:
parent
00cc41ddc2
commit
867ccfc2f6
1 changed files with 1 additions and 2 deletions
|
|
@ -57,8 +57,7 @@ module.exports = class Clone extends _widgets_base {
|
|||
|
||||
this.on('widget-created', (e)=>{
|
||||
if (e.widget == this) return
|
||||
widgetManager.off(`change.${e.widget.hash}`)
|
||||
widgetManager.off(`widget-creates.${e.widget.hash}`)
|
||||
e.widget.reCreateWidget = ()=>{}
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue