mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Merge d0ea7c5de2e9dc6300e7a5c66c418cd842c1b9c9 into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
3a9bfd1b58
@ -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…
x
Reference in New Issue
Block a user