mirror of https://github.com/ElemeFE/element
fix typo in clickoutside.js (#1848)
parent
ead186153f
commit
65aaee6353
|
@ -23,10 +23,10 @@ export default {
|
|||
(vnode.context.popperElm &&
|
||||
vnode.context.popperElm.contains(e.target))) return;
|
||||
|
||||
if (binding.expression) {
|
||||
if (binding.expression &&
|
||||
el[ctx].methodName &&
|
||||
vnode.context[el[ctx].methodName] &&
|
||||
vnode.context[el[ctx].methodName]();
|
||||
vnode.context[el[ctx].methodName]) {
|
||||
vnode.context[el[ctx].methodName]();
|
||||
} else {
|
||||
el[ctx].bindingFn && el[ctx].bindingFn();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue