diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 12c9e2b3..04f38360 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -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`]