src/views/business/unpass/components/unPassDialog.vue
@@ -180,16 +180,7 @@ downFile({ id: row.id, }).then(res => { if (res.code === 200) { let url = ''; if (res.data.type == 1) { url = this.javaApi + '/img/' + res.data.fileUrl this.$download.saveAs(url, row.fileName); } else { url = this.javaApi + '/word/' + res.data.fileUrl this.$download.saveAs(url, row.fileName); } } this.$download.downloadFileFromUrl(res.data.fileUrl, row.fileName); }).catch(error => { })