From aa64c0001c5329a1152f2868ba621ae7364c5aa6 Mon Sep 17 00:00:00 2001 From: Gin-X Date: Mon, 13 May 2019 11:46:21 +0800 Subject: [PATCH] fix children's type of interface Route --- components/breadcrumb/Breadcrumb.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/breadcrumb/Breadcrumb.tsx b/components/breadcrumb/Breadcrumb.tsx index 2748804a4a87..3b114a90d9ef 100755 --- a/components/breadcrumb/Breadcrumb.tsx +++ b/components/breadcrumb/Breadcrumb.tsx @@ -11,7 +11,7 @@ import { Omit } from '../_util/type'; export interface Route { path: string; breadcrumbName: string; - children: Omit[]; + children?: Omit[]; } export interface BreadcrumbProps {