From 06e4c8c1bad514992186d94a65c0dc6250e34716 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期四, 28 八月 2025 13:33:32 +0800
Subject: [PATCH] '解决招标文件pdf无法加载问题'

---
 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