mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 14:45:25 +00:00
fix graph
This commit is contained in:
parent
b095bf5b4c
commit
31bbed581b
@ -50,9 +50,10 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
const available = computed(
|
const available = computed(
|
||||||
() =>
|
() =>
|
||||||
Array.isArray(props.option.series) &&
|
(Array.isArray(props.option.series) &&
|
||||||
props.option.series[0] &&
|
props.option.series[0] &&
|
||||||
props.option.series[0].data
|
props.option.series[0].data) ||
|
||||||
|
(Array.isArray(props.option.series.data) && props.option.series.data[0])
|
||||||
);
|
);
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await setOptions(props.option);
|
await setOptions(props.option);
|
||||||
|
Loading…
Reference in New Issue
Block a user