mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
7ebb2ff48a
commit
8bf5a6c169
@ -109,7 +109,6 @@ limitations under the License. -->
|
|||||||
const { data } = toRefs(props);
|
const { data } = toRefs(props);
|
||||||
const appStore = useAppStoreWithOut();
|
const appStore = useAppStoreWithOut();
|
||||||
const dashboardStore = useDashboardStore();
|
const dashboardStore = useDashboardStore();
|
||||||
const selectorStore = useSelectorStore();
|
|
||||||
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) || ""));
|
||||||
@ -178,13 +177,11 @@ limitations under the License. -->
|
|||||||
watch(
|
watch(
|
||||||
() => props.metricsValues,
|
() => props.metricsValues,
|
||||||
() => {
|
() => {
|
||||||
loading.value = true;
|
|
||||||
const params = props.metricsValues[data.value.i];
|
const params = props.metricsValues[data.value.i];
|
||||||
if (params) {
|
if (params) {
|
||||||
state.source = params.source || {};
|
state.source = params.source || {};
|
||||||
typesOfMQE.value = params.typesOfMQE;
|
typesOfMQE.value = params.typesOfMQE;
|
||||||
}
|
}
|
||||||
loading.value = false;
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ limitations under the License. -->
|
|||||||
widgets.push(...item.children[index].children);
|
widgets.push(...item.children[index].children);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const configList = widgets.map((d: any) => ({
|
const configList = widgets.map((d: LayoutConfig) => ({
|
||||||
metrics: d.expressions || [],
|
metrics: d.expressions || [],
|
||||||
metricConfig: d.metricConfig || [],
|
metricConfig: d.metricConfig || [],
|
||||||
id: d.i,
|
id: d.i,
|
||||||
|
Loading…
Reference in New Issue
Block a user