收藏
回答

安卓手机 wx.opendocument下 doc文件有时能打开 有时打不开

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug wx.opendocument 客户端 6.7.3 2.4.2


wx.downloadFile({
url: url,
success: function(res) {
console.log(res,586)
var filePath = res.tempFilePath;
wx.openDocument({
fileType: item.oagwFj.wjgs,//是该文件的类型 doc或docx,pdf等
filePath: filePath,
success: function(res) {
console.log(item.oagwFj.wjgs,607)
            console.log(res)//能够打印成功
},
fail: function(err) {
console.log(err,617)
wx.hideLoading()
         that.$apply()
       }
})

}
})


回答关注问题邀请回答
收藏

3 个回答

  • 兴隆
    兴隆
    2018-12-12

    我也遇到这个问题,请问你现在有解决方法了吗

    2018-12-12
    有用
    回复 1
    • 尹安
      尹安
      2018-12-12

      请卸载qq浏览器

      2018-12-12
      回复
  • fire
    fire
    2018-12-07

    QQ浏览器的BUG, 卸载QQ浏览器就好了。  我也发现了。


    2018-12-07
    有用
    回复
  • 尹安
    尹安
    2018-12-07

    我也遇到过,解决不了 。。。

    2018-12-07
    有用
    回复
登录 后发表内容