From e21642b3de61263c5f916a17ce07ee80be068d84 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Mon, 6 Nov 2017 10:41:53 +0800 Subject: [PATCH] fix pageTitle for BasicLayout --- src/layouts/BasicLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index c575df3a..bdc823ce 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -152,7 +152,7 @@ class BasicLayout extends React.PureComponent { const { location } = this.props; const { pathname } = location; let title = 'Ant Design Pro'; - getRouteData('UserLayout').forEach((item) => { + getRouteData('BasicLayout').forEach((item) => { if (item.path === pathname) { title = `${item.name} - Ant Design Pro`; } -- GitLab