mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:49:24 +00:00
fix: types
This commit is contained in:
parent
c7dc08f62c
commit
fc76295bfb
@ -119,7 +119,8 @@ limitations under the License. -->
|
|||||||
metricConfig: props.data.metricConfig || [],
|
metricConfig: props.data.metricConfig || [],
|
||||||
id: props.data.i,
|
id: props.data.i,
|
||||||
};
|
};
|
||||||
const metrics = (await useDashboardQueryProcessor([config])) || {};
|
const metrics: { [key: string]: { source: { [key: string]: unknown }; typesOfMQE: string[] } } =
|
||||||
|
(await useDashboardQueryProcessor([config])) || {};
|
||||||
const params = metrics[data.value.i];
|
const params = metrics[data.value.i];
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
state.source = params.source || {};
|
state.source = params.source || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user