vue admin plus 的菜单权限判断,菜单隐藏过滤,函数路径
main.ts -> setupRouter()
router/index.ts -> setupPermissions()
router/permissions.ts -> getUserInfo() && setRouters()
store/modules/routes.ts -> filterRoutes()
utils/routes.ts -> hasPermission()
utils/permission.ts -> can()
router/index.ts -> setupPermissions()
router/permissions.ts -> getUserInfo() && setRouters()
store/modules/routes.ts -> filterRoutes()
utils/routes.ts -> hasPermission()
utils/permission.ts -> can()