From 0688459ba17259dc28626c47ee53a46b2f444dc9 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Mon, 20 Nov 2017 16:33:52 +0800 Subject: [PATCH] Fixed import BasicLayout login model https://github.com/ant-design/ant-design-pro/issues/243 --- src/common/nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/nav.js b/src/common/nav.js index 416ed1c0..6595b4d2 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: '/', -- GitLab