| | |
| | | <!-- <el-image |
| | | style="width: 95%; height: 90%" |
| | | :src="pdfimg" |
| | | :preview-src-list="pdfimgsrcList" --> |
| | | > |
| | | :preview-src-list="pdfimgsrcList" |
| | | > --> |
| | | <el-image |
| | | ref="imagePreview" |
| | | style="width: 95%; height: 90%" |
| | |
| | | name: file.name, |
| | | url: URL.createObjectURL(blob) |
| | | }); |
| | | // console.log(file.response.url); |
| | | // console.log(file); |
| | | |
| | | this.pdfimgsrcList.push(file.response.url); |
| | | this.fileListto.push({ |
| | | name: file.response.fileName, |
| | | url: file.response.url |
| | | }); |
| | | console.log(URL.createObjectURL(blob), "ur转换"); |
| | | }) |
| | | .catch(error => { |
| | | console.error("Error loading image", error); |