| | |
| | | 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 |
| | |
| | | usePermissionStoreHook().wholeMenus[0]?.children[0] |
| | | ); |
| | | tag && useMultiTagsStoreHook().handleTags("push", topMenu); |
| | | console.log(topMenu, "topMenu"); |
| | | // console.log(topMenu, "topMenu"); |
| | | |
| | | return topMenu; |
| | | } |