src/components/page/invoice/invoiceForm.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/page/invoice/invoiceForm.vue
@@ -169,7 +169,7 @@ } this.$byutil.exportData(this,url,param,res => { console.log(res,'res=========') let blob = new Blob([res], {type: 'application/pdf'}); let blob = new Blob([res], {type: 'application/zip'}); let downloadElement = document.createElement("a"); let href = window.URL.createObjectURL(blob); //创建下载的链接 downloadElement.href = href;