From b8ced8ec593ad002e06173952acf73f405926bd9 Mon Sep 17 00:00:00 2001 From: AliooWang <64893838+AliooWang@users.noreply.github.com> Date: 星期一, 14 四月 2025 16:56:43 +0800 Subject: [PATCH] Merge pull request #60 from zhitan-cloud/jiayu1.0 --- zhitan-vue/src/layout/components/Navbar.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zhitan-vue/src/layout/components/Navbar.vue b/zhitan-vue/src/layout/components/Navbar.vue index 65ac355..45d5917 100644 --- a/zhitan-vue/src/layout/components/Navbar.vue +++ b/zhitan-vue/src/layout/components/Navbar.vue @@ -41,17 +41,19 @@ import Hamburger from "@/components/Hamburger" import useAppStore from "@/store/modules/app" import useSettingsStore from "@/store/modules/settings" +import { useRouter } from "vue-router" const appStore = useAppStore() const settingsStore = useSettingsStore() +const router = useRouter() function toggleSideBar() { appStore.toggleSideBar() } function handleAlarm() { - // 澶勭悊鎶ヨ鎸夐挳鐐瑰嚮浜嬩欢 - console.log('鎶ヨ鎸夐挳琚偣鍑�') + // 璺宠浆鍒版姤璀︾鐞嗛〉闈� + router.push('/alarmmanage/measuremen?modelCode=BJGL') } function handleRobot() { -- Gitblit v1.9.3