src/views/plan/customerorder/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/plan/customerorder/index.vue
@@ -884,7 +884,9 @@ const blob = response.data const link = document.createElement('a') link.href = URL.createObjectURL(blob) link.download = '工艺文件.docx' const disposition = response.headers["content-disposition"] let temp = disposition.substring(disposition.lastIndexOf('=') + 1) link.download = decodeURI(temp) document.body.appendChild(link) link.click() window.setTimeout(function() {