diff --git a/components/progress/progress.component.ts b/components/progress/progress.component.ts index 7543f2958a0..a67e5a96e24 100644 --- a/components/progress/progress.component.ts +++ b/components/progress/progress.component.ts @@ -91,7 +91,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`; @if (isSteps) {
- @for (step of steps; track step) { + @for (step of steps; track $index) {
} @@ -137,7 +137,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`; @if (isGradient) { - @for (i of circleGradient; track i) { + @for (i of circleGradient; track $index) { } @@ -152,7 +152,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`; [attr.d]="pathString" [style]="trailPathStyle" > - @for (p of progressCirclePath; track p) { + @for (p of progressCirclePath; track $index) {