fix: remove

This commit is contained in:
Fine 2023-01-05 15:25:53 +08:00
parent 313abd3146
commit 12100b2550

View File

@ -66,7 +66,6 @@ limitations under the License. -->
type: "Trace", type: "Trace",
}); });
const menuPos = reactive<{ x: number; y: number }>({ x: NaN, y: NaN }); const menuPos = reactive<{ x: number; y: number }>({ x: NaN, y: NaN });
const showTooltip = ref<boolean>(false);
const props = defineProps({ const props = defineProps({
height: { type: String, default: "100%" }, height: { type: String, default: "100%" },
width: { type: String, default: "100%" }, width: { type: String, default: "100%" },
@ -109,7 +108,6 @@ limitations under the License. -->
emits("select", currentParams.value); emits("select", currentParams.value);
return; return;
} }
showTooltip.value = false;
if (!chartRef.value) { if (!chartRef.value) {
return; return;
} }
@ -137,7 +135,6 @@ limitations under the License. -->
visMenus.value = false; visMenus.value = false;
}); });
instance.on("mouseout", () => { instance.on("mouseout", () => {
showTooltip.value = false;
instance.dispatchAction({ instance.dispatchAction({
type: "hideTip", type: "hideTip",
}); });
@ -149,7 +146,6 @@ limitations under the License. -->
return; return;
} }
visMenus.value = false; visMenus.value = false;
showTooltip.value = false;
instance.dispatchAction({ instance.dispatchAction({
type: "hideTip", type: "hideTip",
}); });