fix: update current service in store before navigating to dashboard (#514)

This commit is contained in:
KitAndrew
2025-11-21 11:02:59 +08:00
committed by GitHub
parent 851c89925a
commit a4e9908b43

View File

@@ -191,6 +191,7 @@ limitations under the License. -->
ElMessage.error("No this dashboard");
return;
}
selectorStore.setCurrentService(scope.row);
const path = `/dashboard/${dashboard.layer}/${dashboard.entity}/${scope.row.id}/${dashboard.name}`;
router.push(path);