fix(项目管理): 左侧菜单显示隐藏有误

--bug=1039359 --user=宋昌昌 【项目管理】用户a组织下新建项目未勾选接口测试模块-创建成功后查看项目菜单仍显示 https://www.tapd.cn/55049933/s/1498271
This commit is contained in:
song-cc-rock 2024-04-16 15:37:32 +08:00 committed by 刘瑞斌
parent 699e071065
commit bc0f1e676a
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export function composePermissions(userRoleRelations: UserRoleRelation[], type:
}
// 判断当前一级菜单是否有权限
export async function topLevelMenuHasPermission(route: RouteLocationNormalized | RouteRecordRaw) {
export function topLevelMenuHasPermission(route: RouteLocationNormalized | RouteRecordRaw) {
const userStore = useUserStore();
const appStore = useAppStore();
const { currentMenuConfig } = appStore;