mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 15:59:33 +08:00
fix: type error
This commit is contained in:
@@ -91,9 +91,7 @@ function basicFilter(routes: RouteRecordNormalized[]) {
|
||||
if (route.meta.carryParam) {
|
||||
return pathToRegexp(route.path).test(menu.path);
|
||||
}
|
||||
if (route.meta.ignoreAuth) {
|
||||
return false;
|
||||
}
|
||||
if (route.meta.ignoreAuth) return false;
|
||||
}
|
||||
return route.path === menu.path;
|
||||
});
|
||||
|
Reference in New Issue
Block a user