Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: followRoute字段未定义过,应为followAuth
  • Loading branch information
renchao8697 committed Apr 13, 2023
commit 92b92b64d24f42932ff4a985eaab4e9ccdb7a60d
2 changes: 1 addition & 1 deletion src/utils/routerHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const generateRoutesFn1 = (
data = Object.assign({}, route)
} else {
const routePath = onlyOneChild ?? pathResolve(basePath, route.path)
if (routePath === item || meta.followRoute === item) {
if (routePath === item || meta.followAuth === item) {
data = Object.assign({}, route)
}
}
Expand Down