fix progress bar incorrect when upload file twice

This commit is contained in:
potats0
2021-10-14 12:22:15 +08:00
parent 15faca6d89
commit 56384fbcc0
2 changed files with 5 additions and 1 deletions

View File

@ -111,7 +111,7 @@
/>
</mat-form-field>
<div *ngIf="uploadedFile">
<mat-progress-bar mode="determinate" [value]="uploader.progress" ></mat-progress-bar>
<mat-progress-bar mode="determinate" [value]="uploadProgress" aria-valuemin="0" aria-valuemax="100"></mat-progress-bar>
</div>
</div>
</form>