diff --git a/src/common/nav.js b/src/common/nav.js index 416ed1c01911b90627cd6168cd84f81d782f71ea..6595b4d20f9b8e4f21d84c85cb2450ef7e8df338 100644 --- a/src/common/nav.js +++ b/src/common/nav.js @@ -10,7 +10,7 @@ const dynamicWrapper = (app, models, component) => dynamic({ // nav data export const getNavData = app => [ { - component: dynamicWrapper(app, ['user'], () => import('../layouts/BasicLayout')), + component: dynamicWrapper(app, ['user', 'login'], () => import('../layouts/BasicLayout')), layout: 'BasicLayout', name: '首页', // for breadcrumb path: '/',