Commit affacb7c authored by 陈帅's avatar 陈帅 Committed by 偏右

fix 437 (#477)

parent 94c23630
......@@ -72,7 +72,7 @@ export default class PageHeader extends PureComponent {
itemRender={this.itemRender}
/>
);
} else if (location && location.pathname) {
} else if (location && location.pathname && (!breadcrumbList)) {
const pathSnippets = location.pathname.split('/').filter(i => i);
const extraBreadcrumbItems = pathSnippets.map((_, index) => {
const url = `/${pathSnippets.slice(0, index + 1).join('/')}`;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment