Browse Source

Update Breadcrumb.tsx

pull/16885/head
haianweifeng 6 years ago
committed by GitHub
parent
commit
c6ea0aa3d7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/breadcrumb/Breadcrumb.tsx

2
components/breadcrumb/Breadcrumb.tsx

@ -96,7 +96,7 @@ export default class Breadcrumb extends React.Component<BreadcrumbProps, any> {
}: BreadcrumbProps) => {
const paths: string[] = [];
return routes.map(route => {
let path = this.getPath(route.path, params);
const path = this.getPath(route.path, params);
if (path) {
paths.push(path);

Loading…
Cancel
Save