mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-24 15:01:22 +08:00
fix(directive/clickoutside): for unbinding comment node
This commit is contained in:
parent
fe23dfa726
commit
747febd7b8
@ -64,7 +64,7 @@ const clickoutside = {
|
||||
},
|
||||
unbind (el) {
|
||||
console.debug('[clickoutside]: unbind')
|
||||
clickoutsideDelegate.unregisterHandler(el[ctx].handler)
|
||||
el[ctx] && clickoutsideDelegate.unregisterHandler(el[ctx].handler)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user