You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, i meet some trouble,
i want to show the pdf before upload, so when i got the PDF file, i did like that const reader = new FileReader(); reader.readAsDataURL(files.compare); reader.onload = (e) => { console.log(e.target.result, 'reader----------'); setDisplayPdf(e.target.result); };
but it doesnt work
at last, i hope somebody can help me, i'll be grateful.
The text was updated successfully, but these errors were encountered:
hi, i meet some trouble,
i want to show the pdf before upload, so when i got the PDF file, i did like that
const reader = new FileReader(); reader.readAsDataURL(files.compare); reader.onload = (e) => { console.log(e.target.result, 'reader----------'); setDisplayPdf(e.target.result); };
but it doesnt work
at last, i hope somebody can help me, i'll be grateful.
The text was updated successfully, but these errors were encountered: