fix: config

This commit is contained in:
Fine 2023-02-06 12:39:34 +08:00
parent b988057001
commit 7d252e8e3c

View File

@ -76,8 +76,8 @@ limitations under the License. -->
utc: appStore.utc,
});
const w = {
title: encodeURIComponent(dashboardStore.selectedGrid.widget.title),
tips: encodeURIComponent(dashboardStore.selectedGrid.widget.tips),
title: encodeURIComponent(dashboardStore.selectedGrid.widget.title || ""),
tips: encodeURIComponent(dashboardStore.selectedGrid.widget.tips || ""),
};
const metricConfig = (dashboardStore.selectedGrid.metricConfig || []).map((d: any) => {
if (d.label) {