fix(项目管理): 左侧菜单显示隐藏有误
--bug=1039359 --user=宋昌昌 【项目管理】用户a组织下新建项目未勾选接口测试模块-创建成功后查看项目菜单仍显示 https://www.tapd.cn/55049933/s/1498271
This commit is contained in:
parent
699e071065
commit
bc0f1e676a
|
@ -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 userStore = useUserStore();
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
const { currentMenuConfig } = appStore;
|
const { currentMenuConfig } = appStore;
|
||||||
|
|
Loading…
Reference in New Issue