fix trigger
This commit is contained in:
parent
af8c2e5e59
commit
749011c645
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue