Closed
Description
Hi, 尤小右, I created a big project using you vue.js, Thanks to your work.
and I may found a bug here:
When compiling a component, it has a _containerUnlinkFn used to unbind all the derectives, and when it create a inherited child, the child inherits it's _containerUnlinkFn method, but when destroy this child, it called this container unlink fn, and unbind the directives which belongs to the component.
I tried to add a line of code here:
el = transclude(el, options)
this._initElement(el)
this._containerUnlinkFn = undefined //I inserted this line, and it works now.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels