1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2026-06-10 00:34:08 +08:00

chore: update deps and lint fix

This commit is contained in:
zclzone
2026-06-01 08:40:42 +08:00
parent 6d5a67b9d3
commit c55d16a951
7 changed files with 2070 additions and 1354 deletions

View File

@@ -44,7 +44,7 @@ export function createPermissionGuard(router) {
}
const routes = router.getRoutes()
if (routes.find(route => route.name === to.name))
if (routes.some(route => route.name === to.name))
return true
// 判断是无权限还是404