diff --git a/src/components/Graph.vue b/src/components/Graph.vue index e4ed4848..20ef1ea1 100644 --- a/src/components/Graph.vue +++ b/src/components/Graph.vue @@ -108,13 +108,13 @@ limitations under the License. --> emits("select", currentParams.value); return; } - if (!chartRef.value) { - return; - } instance.dispatchAction({ type: "hideTip", }); visMenus.value = true; + if (!chartRef.value) { + return; + } const w = chartRef.value.getBoundingClientRect().width || 0; const h = chartRef.value.getBoundingClientRect().height || 0; if (w - params.event.offsetX > 120) { @@ -149,6 +149,10 @@ limitations under the License. --> instance.dispatchAction({ type: "hideTip", }); + instance.dispatchAction({ + type: "updateAxisPointer", + currTrigger: "leave", + }); }, true, );