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" }); } }); };