浏览代码

隐藏关联比赛入口

flyzto 5 月之前
父节点
当前提交
60eafa7e30
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      web/apps/web-antd/src/router/routes/modules/match.ts

+ 1 - 0
web/apps/web-antd/src/router/routes/modules/match.ts

@@ -20,6 +20,7 @@ const routes: RouteRecordRaw[] = [
           icon: 'ion:git-compare-outline',
           title: $t('page.match.related'),
           roles: ['admin'], // Only users with admin role can access this page
+          hideInMenu: true, // 隐藏关联比赛入口
         },
       },
       {