Skip to content

Commit dbbe345

Browse files
chswordAmour1688
andauthored
fix: breadcrumb itemRender slot type error (#3131)
* fix: breadcrumb中itemRender slot的参数与定义与实际的不符 * Update components/breadcrumb/Breadcrumb.tsx Co-authored-by: Amour1688 <[email protected]> Co-authored-by: Amour1688 <[email protected]>
1 parent eef874b commit dbbe345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/breadcrumb/Breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const BreadcrumbProps = {
2020
separator: PropTypes.VNodeChild,
2121
itemRender: {
2222
type: Function as PropType<
23-
(route: Route, params: any, routes: Array<Route>, paths: Array<string>) => VueNode
23+
(opt: { route: Route; params: any; routes: Route[]; paths: string[] }) => VueNode
2424
>,
2525
},
2626
};

0 commit comments

Comments
 (0)