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') {
|
if (this.trigger !== 'click') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// this.currentVisible = !this.currentVisible;
|
// #661
|
||||||
var $parent = this.hasParent();
|
const $parent = this.hasParent();
|
||||||
if (!$parent) {
|
if (!$parent) this.currentVisible = !this.currentVisible;
|
||||||
this.currentVisible = !this.currentVisible;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
handleRightClick () {
|
handleRightClick () {
|
||||||
if (this.trigger === 'custom') return false;
|
if (this.trigger === 'custom') return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue