fix settings

This commit is contained in:
Fine 2022-08-30 10:32:48 +08:00
parent d8889f1787
commit 2994c21c21

View File

@ -62,9 +62,10 @@ function getDashboards() {
}
function changeLinkDashboard(opt: { value: string }[]) {
const linkDashboard = opt.length ? opt[0].value : "";
const p = {
...dashboardStore.selectedGrid,
linkDashboard: opt[0].value,
linkDashboard,
};
dashboardStore.selectWidget(p);
dashboardStore.setConfigs(p);