src/views/system/biol/index.vue
@@ -627,6 +627,7 @@ } else { this.dialogVisible = true; this.url = window.webkitURL.createObjectURL(response); //将后端返回的blob文件读取出url console.log(this.url) this.DataList1.forEach((item) => { if (item.tjNumber === this.tjNumber) { this.userId = item.tjCustomerName; @@ -689,6 +690,7 @@ const newBlob = []; newBlob.push(response); const blob = new Blob(newBlob, { type: "application/pdf" }); var date = new Date().getTime(); var ifr = document.createElement("iframe"); ifr.style.frameborder = "no";