From 78921416615f450f4cc29ec4f740fbf1b47d8b00 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 19 八月 2025 17:18:28 +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