perf: 修改路由守卫

This commit is contained in:
rd
2025-07-09 11:58:30 +08:00
parent fb259e5596
commit 4aa84346c0
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,6 @@ export function checkRoutePermission(routeName: string) {
if (!routeName) return false;
// console.log({ routeName, allowAccessRoutes });
const route = allowAccessRoutes.find((route) => route.name === routeName);
console.log({ route });
return !!route;
}