From 445c059cc3c0ce36269b84cd52298af378837913 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 05 八月 2025 10:24:31 +0800 Subject: [PATCH] '个人中心状态判断' --- src/router/utils.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/router/utils.ts b/src/router/utils.ts index d8ef0f7..9137806 100644 --- a/src/router/utils.ts +++ b/src/router/utils.ts @@ -21,6 +21,7 @@ import { userKey, type DataInfo } from "@/utils/auth"; import { type menuType, routerArrays } from "@/layout/types"; import { useMultiTagsStoreHook } from "@/store/modules/multiTags"; +import { useUserStoreHook } from "@/store/modules/user"; import { usePermissionStoreHook } from "@/store/modules/permission"; const IFrame = () => import("@/layout/frame.vue"); // https://cn.vitejs.dev/guide/features.html#glob-import @@ -387,7 +388,7 @@ usePermissionStoreHook().wholeMenus[0]?.children[0] ); tag && useMultiTagsStoreHook().handleTags("push", topMenu); - console.log(topMenu, "topMenu"); + // console.log(topMenu, "topMenu"); return topMenu; } -- Gitblit v1.9.1