This commit is contained in:
Fine 2024-08-22 16:22:40 +08:00
parent fc76295bfb
commit 630620e728

View File

@ -128,7 +128,8 @@ limitations under the License. -->
}
async function queryMetrics() {
loading.value = true;
const metrics = await useDashboardQueryProcessor([
const metrics: { [key: string]: { source: { [key: string]: unknown }; typesOfMQE: string[] } } =
await useDashboardQueryProcessor([
{
metrics: config.value.expressions || [],
metricConfig: config.value.metricConfig || [],