diff --git a/src/components/dropdown/dropdown.vue b/src/components/dropdown/dropdown.vue index 48660c22..65168ab2 100644 --- a/src/components/dropdown/dropdown.vue +++ b/src/components/dropdown/dropdown.vue @@ -113,7 +113,11 @@ if (this.trigger !== 'click') { return false; } - this.currentVisible = !this.currentVisible; + // this.currentVisible = !this.currentVisible; + var $parent = this.hasParent(); + if (!$parent) { + this.currentVisible = !this.currentVisible; + } }, handleRightClick () { if (this.trigger === 'custom') return false;