From 488fa976ff298f11b473c49af87938cef31d5e9b Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Mon, 30 Mar 2020 15:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF=E6=8E=A5?= =?UTF-8?q?=E6=94=B6blob=E6=B5=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QMPlusVuePage/src/view/systemTools/autoCode/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/QMPlusVuePage/src/view/systemTools/autoCode/index.vue b/QMPlusVuePage/src/view/systemTools/autoCode/index.vue index 2965c6c6..e04389cf 100644 --- a/QMPlusVuePage/src/view/systemTools/autoCode/index.vue +++ b/QMPlusVuePage/src/view/systemTools/autoCode/index.vue @@ -146,8 +146,7 @@ export default { if (valid) { this.form.structName = toUpperCase(this.form.structName) const data = await createTemp(this.form) - const blob = new Blob([data],{type: 'application/json'}) - debugger + const blob = new Blob([data]) const fileName = 'ginvueadmin.zip' if ('download' in document.createElement('a')) { // 不是IE浏览器 let url = window.URL.createObjectURL(blob)