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