Skip to content

Commit

Permalink
fix: 菜单转路由,加入redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Jul 9, 2024
1 parent 4acb1c7 commit c2011b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const filterAsyncRouter = (routerMap) => {
path: item.path,
name: item.name,
hidden: item.hidden === 1,
redirect: item.redirect,
meta: item.meta,
children: item.children ? filterAsyncRouter(item.children) : null,
component: views[`../../views/${item.component}.vue`]
Expand Down

0 comments on commit c2011b6

Please sign in to comment.