mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 11:21:29 +00:00
fix: update config
This commit is contained in:
@@ -43,9 +43,6 @@ const props = defineProps({
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
if (!chartRef.value) {
|
||||
return;
|
||||
}
|
||||
setOptions(props.option);
|
||||
addResizeListener(unref(chartRef), resize);
|
||||
});
|
||||
@@ -58,9 +55,6 @@ watch(
|
||||
);
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
if (!chartRef.value) {
|
||||
return;
|
||||
}
|
||||
removeResizeListener(unref(chartRef), resize);
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user