diff --git a/components/lib/treeselect/TreeSelect.vue b/components/lib/treeselect/TreeSelect.vue index e01d31f4f..727e11e62 100644 --- a/components/lib/treeselect/TreeSelect.vue +++ b/components/lib/treeselect/TreeSelect.vue @@ -340,9 +340,9 @@ export default { this.outsideClickListener = (event) => { if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event)) { this.hide(); - - this.selfClick = false; } + + this.selfClick = false; }; document.addEventListener('click', this.outsideClickListener);