Skip to content

Commit

Permalink
chore: 有子级的路由加入meta
Browse files Browse the repository at this point in the history
  • Loading branch information
lb1129 committed Jul 7, 2023
1 parent 91b860c commit 2ee5cbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ watch(menuDataStore, () => {
name: record.name,
path: getChildrenPath(record.path),
redirect,
meta: { needAuth: true, menuName: record.name },
children: generateRoutes(children)
})
} else if (record.pageUrl) {
Expand Down

0 comments on commit 2ee5cbf

Please sign in to comment.