diff --git a/components/lib/steps/Steps.d.ts b/components/lib/steps/Steps.d.ts index 389f3b91e..3b2563b6e 100755 --- a/components/lib/steps/Steps.d.ts +++ b/components/lib/steps/Steps.d.ts @@ -137,6 +137,18 @@ export interface StepsSlots { * Menuitem instance */ item: MenuItem; + /** + * Label property of the menuitem + */ + label: string | ((...args: any) => string) | undefined; + /** + * Order of the menuitem + */ + index: number; + /** + * Binding properties of the menuitem + */ + props: (...args: any) => string; }): VNode[]; } diff --git a/components/lib/steps/Steps.vue b/components/lib/steps/Steps.vue index c32c160d3..447b4c0a1 100755 --- a/components/lib/steps/Steps.vue +++ b/components/lib/steps/Steps.vue @@ -23,7 +23,7 @@ {{ label(item) }} - + @@ -32,11 +32,17 @@