2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-11 08:42:23 +03:00
This commit is contained in:
Randall Wilk
2018-11-19 08:19:34 -06:00
parent 616f03014a
commit aec2d2fede
+4
View File
@@ -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;