diff --git a/src/components/Tooltip/Tooltip.vue b/src/components/Tooltip/Tooltip.vue index 2d254f5..93640d6 100644 --- a/src/components/Tooltip/Tooltip.vue +++ b/src/components/Tooltip/Tooltip.vue @@ -63,7 +63,7 @@ }, methods: { onMouseEnter() { - if (this.timeoutId) clearTimeout(this.timeoutId) + if (this.timeoutId) clearTimeout(this.timeoutId); this.timeoutId = setTimeout(() => { this.show = true; if (this.appendToBody) { @@ -74,7 +74,7 @@ }, this.delay); }, onMouseLeave() { - if (this.timeoutId) clearTimeout(this.timeoutId) + if (this.timeoutId) clearTimeout(this.timeoutId); this.timeoutId = setTimeout(() => { if (this.appendToBody) { document.body.removeChild(this.$refs.label);