From dade6a8b4772abc113383246d05ab59162630e7c Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期三, 27 八月 2025 17:21:21 +0800
Subject: [PATCH] '上传变更公告获取详情与删除'

---
 src/layout/hooks/useNav.ts |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/layout/hooks/useNav.ts b/src/layout/hooks/useNav.ts
index 17745d4..88ff49c 100644
--- a/src/layout/hooks/useNav.ts
+++ b/src/layout/hooks/useNav.ts
@@ -15,6 +15,7 @@
 import ExitFullscreen from "~icons/ri/fullscreen-exit-fill";
 import Fullscreen from "~icons/ri/fullscreen-fill";
 import { unref } from "vue";
+import { message } from "@/utils/message";
 
 const errorInfo =
   "The current routing configuration is incorrect, please check the configuration";
@@ -109,6 +110,8 @@
           // 鑾峰彇鍚庣璺敱
           initRouter();
           onFresh();
+        } else {
+          message(res?.message, { type: "warning" });
         }
       });
   };

--
Gitblit v1.9.1