diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index c575df3a85691dfd1897d721c1949f6956b03e0a..bdc823cec36d9a5173130cac96dd9e72121d8002 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`; }