src/views/business/inspectionTask/inspection.vue
@@ -2239,7 +2239,9 @@ }, handleDown(row) { downFile({ id: row.id }).then((res) => { this.$download.saveAs(res.data.fileUrl, row.fileName) const resourcePath = Number(res.data.type) === 1 ? "/img/" : "/word/"; const fileUrl = this.javaApi + resourcePath + encodeURIComponent(res.data.fileUrl); this.$download.saveAs(fileUrl, row.fileName); }) .catch((error) => { }); },