mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-11 08:42:23 +03:00
resolves #13
This commit is contained in:
@@ -87,6 +87,10 @@
|
||||
* @param {boolean|Event} emit Used to prevent event being emitted twice from when menu is clicked and closed
|
||||
*/
|
||||
close (emit = true) {
|
||||
if (! this.show) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.top = null;
|
||||
this.left = null;
|
||||
this.data = null;
|
||||
|
||||
Reference in New Issue
Block a user