mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
0bda346422
commit
e4916a4ad9
@ -60,11 +60,9 @@ limitations under the License. -->
|
||||
}
|
||||
draw();
|
||||
loading.value = false;
|
||||
window.addEventListener("resize", resize);
|
||||
window.addEventListener("resize", debounceFunc);
|
||||
});
|
||||
function resize() {
|
||||
debounceFunc();
|
||||
}
|
||||
|
||||
function draw() {
|
||||
if (!traceGraph.value) {
|
||||
return;
|
||||
@ -282,7 +280,7 @@ limitations under the License. -->
|
||||
}
|
||||
onBeforeUnmount(() => {
|
||||
d3.selectAll(".d3-tip").remove();
|
||||
window.removeEventListener("resize", resize);
|
||||
window.removeEventListener("resize", debounceFunc);
|
||||
});
|
||||
watch(
|
||||
() => props.data,
|
||||
|
Loading…
Reference in New Issue
Block a user