mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 16:15:25 +00:00
fix type
This commit is contained in:
parent
46136ab3a8
commit
408d9324a5
@ -50,7 +50,9 @@ const props = defineProps({
|
|||||||
});
|
});
|
||||||
const available = computed(
|
const available = computed(
|
||||||
() =>
|
() =>
|
||||||
props.option.series && props.option.series[0] && props.option.series[0].data
|
Array.isArray(props.option.series) &&
|
||||||
|
props.option.series[0] &&
|
||||||
|
props.option.series[0].data
|
||||||
);
|
);
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await setOptions(props.option);
|
await setOptions(props.option);
|
||||||
|
@ -236,7 +236,7 @@ export function useQueryPodsMetrics(
|
|||||||
duration: appStore.durationTime,
|
duration: appStore.durationTime,
|
||||||
};
|
};
|
||||||
const variables: string[] = [`$duration: Duration!`];
|
const variables: string[] = [`$duration: Duration!`];
|
||||||
const { currentService } = selectorStore;
|
const currentService = selectorStore.currentService || {};
|
||||||
const fragmentList = pods.map(
|
const fragmentList = pods.map(
|
||||||
(
|
(
|
||||||
d: (Instance | Endpoint | Service) & { normal: boolean },
|
d: (Instance | Endpoint | Service) & { normal: boolean },
|
||||||
|
@ -61,7 +61,6 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
intervalTime: { type: Array as PropType<string[]>, default: () => [] },
|
intervalTime: { type: Array as PropType<string[]>, default: () => [] },
|
||||||
});
|
});
|
||||||
console.log(props.config.color);
|
|
||||||
const key = computed(() => Object.keys(props.data)[0] || "");
|
const key = computed(() => Object.keys(props.data)[0] || "");
|
||||||
const available = computed(
|
const available = computed(
|
||||||
() =>
|
() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user