Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报了这个错Uncaught TypeError: Failed to execute "readAsDataURL' on "FileReader': parameter 1 is not of type 'Blob'. #199

Open
SAKURA-LBY opened this issue Jul 11, 2024 · 1 comment

Comments

@SAKURA-LBY
Copy link

本得开发模式pdfh5实例化pdfurl路径是放在public目录下的pdf文件,报了 *Uncaught TypeError: Failed to execute "readAsDataURL' on "FileReader': parameter 1 is not of type 'Blob'.但我build到生产环境又没有爆出这个问题.大神能帮我看看吗

@SAKURA-LBY
Copy link
Author

路径是”/pdfDemo.pdf” 在浏览器是可以显示这个pdf文件,get请求也请求到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant