mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 00:37:33 +00:00
fix
This commit is contained in:
parent
989212810b
commit
e8062dc2d9
@ -276,21 +276,16 @@ function searchList() {
|
||||
}
|
||||
|
||||
watch(
|
||||
() => [...(props.config.metricTypes || []), ...(props.config.metrics || [])],
|
||||
() => [
|
||||
...(props.config.metricTypes || []),
|
||||
...(props.config.metrics || []),
|
||||
...(props.config.metricConfig || []),
|
||||
],
|
||||
(data, old) => {
|
||||
if (JSON.stringify(data) === JSON.stringify(old)) {
|
||||
return;
|
||||
}
|
||||
queryServiceMetrics(services.value);
|
||||
}
|
||||
);
|
||||
watch(
|
||||
() => [...(props.config.metricConfig || [])],
|
||||
(data, old) => {
|
||||
if (JSON.stringify(data) === JSON.stringify(old)) {
|
||||
return;
|
||||
}
|
||||
metricConfig.value = data;
|
||||
metricConfig.value = props.config.metricConfig;
|
||||
queryServiceMetrics(services.value);
|
||||
}
|
||||
);
|
||||
|
@ -167,5 +167,6 @@ function getLabel(metric: string, index: string) {
|
||||
display: inline-block;
|
||||
flex-grow: 2;
|
||||
height: 100%;
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user