From 55d94f90fe54c0ece7d5c11c0e839f3120764e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=81=E9=94=90?= Date: Thu, 31 Mar 2022 15:17:25 +0800 Subject: [PATCH] chore: remove annotation --- demo/App.vue | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/demo/App.vue b/demo/App.vue index df5f6d3..0e9d0d3 100644 --- a/demo/App.vue +++ b/demo/App.vue @@ -64,24 +64,6 @@ export default { blobToDataURI(file).then(data => { this.pdfSource = data }) - - // const reader = new FileReader() - - // const rs = reader.readAsArrayBuffer(file) - - // let blob = null - - // reader.onload = e => { - // if (typeof e.target.result === 'object') { - // blob = new Blob([e.target.result]) - // } else { - // blob = e.target.result - // } - // console.log(blob) - // const data = Object.prototype.toString.call(blob) - - // this.pdfSource = `data:application/octet-stream;base64,${blob}` - // } }, }, }