html代码部分
TsCode
<input class="form-control" type="file" (change)="uploadPicture($event)">
主要是接收到的 e.target.value = ""置空
html代码部分
<input class="form-control" type="file" (change)="uploadPicture($event)">
主要是接收到的 e.target.value = ""置空
转载于:https://www.cnblogs.com/gaizaotuling/p/9274953.html