diff --git a/src/components/PageHeaderWrapper/breadcrumb.js b/src/components/PageHeaderWrapper/breadcrumb.js index 29678748ba2183d169cedb0c6e3a682f00a7cb5f..66ca8b9cd0d7eea7fae3bec72fa2d7256993b8f9 100644 --- a/src/components/PageHeaderWrapper/breadcrumb.js +++ b/src/components/PageHeaderWrapper/breadcrumb.js @@ -93,7 +93,11 @@ export const conversionBreadcrumbList = props => { const { breadcrumbList } = props; const { routes, params, routerLocation, breadcrumbNameMap } = getBreadcrumbProps(props); if (breadcrumbList && breadcrumbList.length) { - return conversionFromProps(); + return { + routes: conversionFromProps(props), + params, + itemRender, + }; } // 如果传入 routes 和 params 属性 // If pass routes and params attributes