diff --git a/components/page-header/index.tsx b/components/page-header/index.tsx index 9fb79f0971..7427ed22e3 100644 --- a/components/page-header/index.tsx +++ b/components/page-header/index.tsx @@ -51,7 +51,7 @@ const renderBreadcrumb = (breadcrumb: BreadcrumbProps) => { const renderHeader = (prefixCls: string, props: PageHeaderProps) => { const { breadcrumb, backIcon, onBack } = props; - if (breadcrumb && breadcrumb.routes && breadcrumb.routes.length > 2) { + if (breadcrumb && breadcrumb.routes && breadcrumb.routes.length >= 2) { return renderBreadcrumb(breadcrumb); } return renderBack(prefixCls, backIcon, onBack);