mirror of https://github.com/vuejs/vue.git
fix runtime directive unbind
This commit is contained in:
parent
3e39d7647d
commit
55faec9fe5
|
|
@ -5,8 +5,8 @@ export default {
|
|||
update: function (oldVnode, vnode) {
|
||||
applyDirectives(oldVnode, vnode, 'update', true)
|
||||
},
|
||||
destroy: function (oldVnode, vnode) {
|
||||
applyDirectives(oldVnode, vnode, 'unbind')
|
||||
destroy: function (vnode) {
|
||||
applyDirectives(null, vnode, 'unbind')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue