Merge d0ea7c5de2
into 33a93a12b4
This commit is contained in:
commit
0676f56abc
|
@ -61,7 +61,10 @@ export default {
|
||||||
el.addEventListener('click', handleClick(el, binding), false)
|
el.addEventListener('click', handleClick(el, binding), false)
|
||||||
},
|
},
|
||||||
update(el, binding) {
|
update(el, binding) {
|
||||||
el.removeEventListener('click', el[context].removeHandle, false)
|
const removeHandler = el[context].removeHandle
|
||||||
|
setTimeout(_ => {
|
||||||
|
el.removeEventListener('click', removeHandler, false)
|
||||||
|
})
|
||||||
el.addEventListener('click', handleClick(el, binding), false)
|
el.addEventListener('click', handleClick(el, binding), false)
|
||||||
},
|
},
|
||||||
unbind(el) {
|
unbind(el) {
|
||||||
|
|
Loading…
Reference in New Issue