修改上传文件重复上传问题

This commit is contained in:
龙运模 2024-11-06 14:45:03 +08:00
parent c6680f76ba
commit 3976596c37

View File

@ -126,6 +126,7 @@ export default {
} }
if(res.data.status == 1){ if(res.data.status == 1){
this.fileList.splice(this.fileList[0],1); this.fileList.splice(this.fileList[0],1);
this.params = {};
this.$emit('uploadFileSuccess'); this.$emit('uploadFileSuccess');
} }
} }