fix: set dropdown for the Tab widget, init instance relation selectors, update sankey graph (#79)

This commit is contained in:
Fine0830
2022-05-09 20:18:20 +08:00
committed by GitHub
parent d93a7cead2
commit 918b0551ad
5 changed files with 41 additions and 60 deletions

View File

@@ -178,8 +178,6 @@ function goDashboard() {
layer: dashboardStore.layerId,
entity,
});
dashboardStore.setEntity(entity);
dashboardStore.setCurrentDashboard(d);
const path = `/dashboard/${d.layer}/${entity}/${topologyStore.node.serviceId}/${topologyStore.node.id}/${d.name}`;
const routeUrl = router.resolve({ path });
window.open(routeUrl.href, "_blank");
@@ -218,7 +216,6 @@ function selectNodeLink(d: any) {
layer: dashboardStore.layerId,
entity,
});
dashboardStore.setEntity(entity);
const path = `/dashboard/${p.layer}/${entity}/${sourceObj.serviceId}/${sourceObj.id}/${targetObj.serviceId}/${targetObj.id}/${p.name}`;
const routeUrl = router.resolve({ path });
window.open(routeUrl.href, "_blank");