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, utc: appStore.utc,
}); });
const w = { const w = {
title: encodeURIComponent(dashboardStore.selectedGrid.widget.title), title: encodeURIComponent(dashboardStore.selectedGrid.widget.title || ""),
tips: encodeURIComponent(dashboardStore.selectedGrid.widget.tips), tips: encodeURIComponent(dashboardStore.selectedGrid.widget.tips || ""),
}; };
const metricConfig = (dashboardStore.selectedGrid.metricConfig || []).map((d: any) => { const metricConfig = (dashboardStore.selectedGrid.metricConfig || []).map((d: any) => {
if (d.label) { if (d.label) {