打开23页面路由

This commit is contained in:
qumeng039@126.com 2025-07-16 14:40:13 +08:00
parent 9f20813b40
commit f68df3cb8b
2 changed files with 10 additions and 3 deletions

View File

@ -110,11 +110,12 @@ const isActive = (routePath) => {
// //
const jumpPage = (routePath) => { const jumpPage = (routePath) => {
if (routePath != "/key-node-1") { const activedPaths = ["/key-node-1", "/key-node-2", "/key-node-3"];
openDialog.value = true; if (activedPaths.includes(routePath)) {
router.push({ path: routePath });
return; return;
} }
router.push({ path: routePath }); openDialog.value = true;
}; };
// //
const showToggleJianjie = ref(false); const showToggleJianjie = ref(false);

View File

@ -287,6 +287,12 @@ const initChart = async () => {
color: "#37ACD7", color: "#37ACD7",
width: 1 width: 1
} }
// emphasis: {
// focus: "adjacency",
// lineStyle: {
// width: 4
// }
// }
} }
] ]
}; };