@@ -75,6 +75,7 @@ export default {
return
}
const url = window.URL.createObjectURL(new Blob([data], { type: 'application/pdf' }))
+ console.log(url)
document.getElementById('print').innerHTML = '<iframe id="printftoe" name="printftoe" src="' + url + '" hidden></iframe>'
if (type == 'views') { // 预览
window.open(url)