From c131b8c87457aa5149451e6707c4ad982129ff65 Mon Sep 17 00:00:00 2001
From: suixy <2277317060@qq.com>
Date: Mon, 29 Sep 2025 15:28:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/index.vue | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/views/index.vue b/src/views/index.vue
index 3e7e410..6f9044e 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -5,6 +5,7 @@
+ 管理
@@ -21,6 +22,7 @@ import {
addShildData,
delShildData, StartWork, StopWork, RestartWork, ShutDownWork, getAllAirPort, getArea, GetAllCData
} from "@/api/api";
+import {useRouter} from "vue-router";
const scaleRatio = ref(window.innerWidth / 1080)
const onSubmit = (e) => {
@@ -553,6 +555,10 @@ const RIGHT = defineComponent({
}
})
+const router = useRouter();
+const toAdmin = () => {
+ router.push('/serve')
+}
// setTimeout(() => {
// setZoom({lon: 120.0005, lat: 30.005}, 2)
// }, 30000)