wx.openDocument 打开 pdf 无反应

发布于 6 年前作者 fluo14418 次浏览最后编辑 6 年前来自 ask

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

2 回复
mingluo
mingluo1 楼5 年前

谢邀,程序错误所致。

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

rfan
rfan2 楼4 年前

你的代码逻辑错误!