mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
fix: update
This commit is contained in:
parent
12100b2550
commit
2168a67128
@ -108,13 +108,13 @@ limitations under the License. -->
|
|||||||
emits("select", currentParams.value);
|
emits("select", currentParams.value);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!chartRef.value) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
instance.dispatchAction({
|
instance.dispatchAction({
|
||||||
type: "hideTip",
|
type: "hideTip",
|
||||||
});
|
});
|
||||||
visMenus.value = true;
|
visMenus.value = true;
|
||||||
|
if (!chartRef.value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const w = chartRef.value.getBoundingClientRect().width || 0;
|
const w = chartRef.value.getBoundingClientRect().width || 0;
|
||||||
const h = chartRef.value.getBoundingClientRect().height || 0;
|
const h = chartRef.value.getBoundingClientRect().height || 0;
|
||||||
if (w - params.event.offsetX > 120) {
|
if (w - params.event.offsetX > 120) {
|
||||||
@ -149,6 +149,10 @@ limitations under the License. -->
|
|||||||
instance.dispatchAction({
|
instance.dispatchAction({
|
||||||
type: "hideTip",
|
type: "hideTip",
|
||||||
});
|
});
|
||||||
|
instance.dispatchAction({
|
||||||
|
type: "updateAxisPointer",
|
||||||
|
currTrigger: "leave",
|
||||||
|
});
|
||||||
},
|
},
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user