From 12100b25501a0551734e27183ff68e78e515609c Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 5 Jan 2023 15:25:53 +0800 Subject: [PATCH] fix: remove --- src/components/Graph.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/Graph.vue b/src/components/Graph.vue index a831c209..e4ed4848 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -66,7 +66,6 @@ limitations under the License. --> type: "Trace", }); const menuPos = reactive<{ x: number; y: number }>({ x: NaN, y: NaN }); - const showTooltip = ref(false); const props = defineProps({ height: { type: String, default: "100%" }, width: { type: String, default: "100%" }, @@ -109,7 +108,6 @@ limitations under the License. --> emits("select", currentParams.value); return; } - showTooltip.value = false; if (!chartRef.value) { return; } @@ -137,7 +135,6 @@ limitations under the License. --> visMenus.value = false; }); instance.on("mouseout", () => { - showTooltip.value = false; instance.dispatchAction({ type: "hideTip", }); @@ -149,7 +146,6 @@ limitations under the License. --> return; } visMenus.value = false; - showTooltip.value = false; instance.dispatchAction({ type: "hideTip", });