diff --git a/src/components/confirmpopup/ConfirmPopup.vue b/src/components/confirmpopup/ConfirmPopup.vue index 0ea94e73a..43422d6a6 100644 --- a/src/components/confirmpopup/ConfirmPopup.vue +++ b/src/components/confirmpopup/ConfirmPopup.vue @@ -176,7 +176,7 @@ export default { this.resizeListener = null; } }, - isTargetClicked() { + isTargetClicked(event) { return this.target && (this.target === event.target || this.target.contains(event.target)); }, containerRef(el) { diff --git a/src/components/menu/Menu.vue b/src/components/menu/Menu.vue index fd8b8d5fc..6d6c2744c 100755 --- a/src/components/menu/Menu.vue +++ b/src/components/menu/Menu.vue @@ -188,7 +188,7 @@ export default { this.resizeListener = null; } }, - isTargetClicked() { + isTargetClicked(event) { return this.target && (this.target === event.target || this.target.contains(event.target)); }, visible(item) { diff --git a/src/components/tieredmenu/TieredMenu.vue b/src/components/tieredmenu/TieredMenu.vue index 274d63004..73d25b606 100755 --- a/src/components/tieredmenu/TieredMenu.vue +++ b/src/components/tieredmenu/TieredMenu.vue @@ -160,7 +160,7 @@ export default { this.resizeListener = null; } }, - isTargetClicked() { + isTargetClicked(event) { return this.target && (this.target === event.target || this.target.contains(event.target)); }, onLeafClick() {