wx.openDocument 打开 pdf 无反应
发布于 4 年前 作者 fluo 14226 次浏览 来自 问答

我试了所有的IOS手机,包括系统14.4.1 微信8.0.2,系统14.4 微信8.0.2在调取openDocument的时候,不能正确打开,安卓机型都可以打开

2 回复

谢邀,程序错误所致。

wx.openDocument({
  filePath: Path,
  fileType: 'pdf'
})

你的代码逻辑错误!

回到顶部