mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-23 18:40:31 +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
|
* @param {boolean|Event} emit Used to prevent event being emitted twice from when menu is clicked and closed
|
||||||
*/
|
*/
|
||||||
close (emit = true) {
|
close (emit = true) {
|
||||||
|
if (! this.show) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.top = null;
|
this.top = null;
|
||||||
this.left = null;
|
this.left = null;
|
||||||
this.data = null;
|
this.data = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user