From be50fc9c5cfa189e6e4092bef2b2d0c8950863c6 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Wed, 12 Jun 2024 14:36:16 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.ts | 2 +-
src/store/modules/router.ts | 2 +-
src/views/monitor/topology/graph.ts | 3 ---
src/views/system/dept/index.vue | 3 +--
4 files changed, 3 insertions(+), 7 deletions(-)
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(() => {
-
+