diff --git a/src/router/index.ts b/src/router/index.ts index 15d31680..3dd384e4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -165,7 +165,7 @@ router.beforeEach(async (to, from, next) => { if (!appStore.loginBackground) { await appStore.fnSysConf(); } - + // 需要系统引导跳转 if (appStore.bootloader && to.path !== '/quick-start') { next({ name: 'QuickStart' }); diff --git a/src/store/modules/router.ts b/src/store/modules/router.ts index fa6e2658..d683a01f 100644 --- a/src/store/modules/router.ts +++ b/src/store/modules/router.ts @@ -1,5 +1,5 @@ import { defineStore } from 'pinia'; -import { +import type { RouteComponent, RouteLocationRaw, RouteMeta, diff --git a/src/views/monitor/topology/graph.ts b/src/views/monitor/topology/graph.ts index 22642f8a..8e526c79 100644 --- a/src/views/monitor/topology/graph.ts +++ b/src/views/monitor/topology/graph.ts @@ -1566,9 +1566,6 @@ export function randerGroph( collapseArray ); break; - case 'restart': - console.log('restart'); - break; case 'show': showItems(graph); break; diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 672d5c00..52c940a9 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -822,5 +822,4 @@ onMounted(() => { - +