src/views/business/inspectionTask/components/InspectionWord.vue
@@ -2039,13 +2039,10 @@ let url = ''; if(res.data.type==1){ url = this.javaApi+'/img/'+res.data.fileUrl file.downloadIamge(url,row.fileName) this.$download.saveAs(url, row.fileName); }else{ url = this.javaApi+'/word/'+res.data.fileUrl const link = document.createElement('a'); link.href = url; link.download = row.fileName; link.click(); this.$download.saveAs(url, row.fileName); } } }).catch(error => {