-
E:\code\app\test\vite-vue-h5-pnpm\node_modules\.pnpm\esbuild@0.20.2\node_modules\esbuild\lib\main.js:1651
let error = new Error(text);
^
Error: Build failed with 1 error:
node_mo…
-
本得开发模式pdfh5实例化pdfurl路径是放在public目录下的pdf文件,报了 *Uncaught TypeError: Failed to execute "readAsDataURL' on "FileReader': parameter 1 is not of type 'Blob'.但我build到生产环境又没有爆出这个问题.大神能帮我看看吗
-
ios系统下,使用pdfh5.js查看pdf文件的时候,最后一页拉不出来并且监听显示滚动到底部了。安卓系统下可以全部正常显示
-
Warning: Setting up fake worker.
pdf.worker.js:22 Warning: loadFont - translateFont failed: "FormatError: unexpected EOF in bcmap".
pdf.js:22 Warning: Error during font loading: unexpected EOF in bc…
-
demo运行之后,页面还是空白的,PDF文件没显示
-
![image](https://github.com/gjTool/pdfh5/assets/67350580/2011050e-8df2-4071-87fd-7f60693b3df9)
-
pdfh5: v1.4.5+
pdf.worker.js: `const SpecialCharRegExp = new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$", "u");`
Error info:
`chunk-vendors.c8fc97f3679b8735.js:32 Uncaught SyntaxError: Invalid regula…
-
### 背景
手机预览PDF经常被产品提出,H5、小程序均需要展示PDF的需求,稍微整理一下。
### H5
在不依赖插件的情况下,用个iframe大法。iOS可以打开PDF的链接直接预览查看,安卓则会跳到浏览器拉起下载。两端的体验不太一致。
```js
export default {
data() {
return {
s…
-
![image](https://user-images.githubusercontent.com/36074298/62407502-16be7280-b5ec-11e9-8e41-9f1e85985a25.png)
使用npm install pdfh5方式的时候,有的人会出现以上报错。大体意思pdf.js引用了fs包,但是又没有找到该依赖包。按提示npm install fs也没用,…
-
请问我选择了国内CDN后浏览器清除缓存后检查时Pdf.js仍显示jsdelivr,已经重装了最新版本,请问这个应该怎么解决,谢谢!
![image](https://user-images.githubusercontent.com/94264391/166095838-25bc5d38-54e1-47c3-a26a-b6caa1837196.png)