mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix: update
This commit is contained in:
parent
c4489c7640
commit
c6ed75fa1c
@ -61,7 +61,7 @@ limitations under the License. -->
|
|||||||
associate: data.associate || [],
|
associate: data.associate || [],
|
||||||
metricMode: data.metricMode,
|
metricMode: data.metricMode,
|
||||||
expressions: data.expressions || [],
|
expressions: data.expressions || [],
|
||||||
typesOfMQE: data.typesOfMQE || [],
|
typesOfMQE: typesOfMQE || [],
|
||||||
subExpressions: data.subExpressions || [],
|
subExpressions: data.subExpressions || [],
|
||||||
subTypesOfMQE: data.subTypesOfMQE || [],
|
subTypesOfMQE: data.subTypesOfMQE || [],
|
||||||
}"
|
}"
|
||||||
@ -114,6 +114,7 @@ limitations under the License. -->
|
|||||||
const graph = computed(() => props.data.graph || {});
|
const graph = computed(() => props.data.graph || {});
|
||||||
const widget = computed(() => props.data.widget || {});
|
const widget = computed(() => props.data.widget || {});
|
||||||
const isList = computed(() => ListChartTypes.includes((props.data.graph && props.data.graph.type) || ""));
|
const isList = computed(() => ListChartTypes.includes((props.data.graph && props.data.graph.type) || ""));
|
||||||
|
const typesOfMQE = ref<string[]>([]);
|
||||||
|
|
||||||
if ((props.needQuery || !dashboardStore.currentDashboard.id) && !isList.value) {
|
if ((props.needQuery || !dashboardStore.currentDashboard.id) && !isList.value) {
|
||||||
queryMetrics();
|
queryMetrics();
|
||||||
@ -131,6 +132,7 @@ limitations under the License. -->
|
|||||||
const params = (await useExpressionsQueryProcessor(e)) || {};
|
const params = (await useExpressionsQueryProcessor(e)) || {};
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
state.source = params.source || {};
|
state.source = params.source || {};
|
||||||
|
typesOfMQE.value = params.typesOfMQE;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const params = await useQueryProcessor({ ...props.data });
|
const params = await useQueryProcessor({ ...props.data });
|
||||||
@ -259,6 +261,7 @@ limitations under the License. -->
|
|||||||
t,
|
t,
|
||||||
graph,
|
graph,
|
||||||
widget,
|
widget,
|
||||||
|
typesOfMQE,
|
||||||
clickHandle,
|
clickHandle,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user