web端,vue中使用libpag,渲染三个文件较大的pag,在ios系统中,微信公众号网页环境,渲染显示异常
Open
@kevingpqi123 is already working on this.
Since Nov 27, 2025.
- Dominant language
- HTML
- Stars
- 5.8k
- Forks
- 531
- Avg merge
- 8d 55m
- Merged PRs (30d)
- 17
Description
环境:web端微信公众号网页开发,vue3框架 + vite
问题:页面中渲染三个pag文件,每一个文件大概是48kb左右,在微信开发者工具中/安卓手机的微信内部打开都是显示正常,没有任何问题,但是在苹果手机中,在微信打开,发现三个pag文件渲染异常,有时候三个都是空白,有时候其中一个会显示内容,但是不是动态的,十分奇怪,但是当我把文件换成官方给的pag文件,在苹果手机上就显示正常了https://pag.io/file/like.pag 这个文件
【版本信息】
4.2.84
【平台信息】
Web 浏览器
【预期的表现】
【实际的情况】
微信开发者工具会提示这个问题,但是好像不影响,在开发者工具中渲染正常
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': An argument must be provided, which must be a Response or Promise object
falling back to ArrayBuffer instantiation
【Demo及附件】
pag文件地址
https://weboss.xinyifm.cn/oss/xc-h5/new-vip/vip_config/svip_pag_4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.