Ver código fonte

隐藏关联比赛入口

flyzto 5 meses atrás
pai
commit
60eafa7e30

+ 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, // 隐藏关联比赛入口
         },
       },
       {