后端返回的pad文件流 预览不显示文字
getPdfData().then(res => {
return res.json(); //返回的base64的字符
}).then(res => {
let base = Base64.decode(res.retObj)
console.log(base);
const blob = new Blob([base], { type: 'application/pdf;chartset=UTF-8' })
const url = window.URL.createObjectURL(blob)
return url
})