Update dropdown.vue
This commit is contained in:
parent
749011c645
commit
2d3d71ea93
1 changed files with 3 additions and 5 deletions
|
@ -113,11 +113,9 @@
|
|||
if (this.trigger !== 'click') {
|
||||
return false;
|
||||
}
|
||||
// this.currentVisible = !this.currentVisible;
|
||||
var $parent = this.hasParent();
|
||||
if (!$parent) {
|
||||
this.currentVisible = !this.currentVisible;
|
||||
}
|
||||
// #661
|
||||
const $parent = this.hasParent();
|
||||
if (!$parent) this.currentVisible = !this.currentVisible;
|
||||
},
|
||||
handleRightClick () {
|
||||
if (this.trigger === 'custom') return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue