fix trigger

This commit is contained in:
lesliele 2020-09-04 00:21:11 +08:00
parent af8c2e5e59
commit 749011c645

View file

@ -113,7 +113,11 @@
if (this.trigger !== 'click') {
return false;
}
// this.currentVisible = !this.currentVisible;
var $parent = this.hasParent();
if (!$parent) {
this.currentVisible = !this.currentVisible;
}
},
handleRightClick () {
if (this.trigger === 'custom') return false;