Commit 20b0dd96 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

bugfix: fix #3910, fix custom breadcrumbs error reporting

parent 276a55dd
......@@ -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
......
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