chenguiya
wx.downloadFile({
        url:"https://xxxxxx.pdf",
        success(res){
          console.log(res)
          let data = res.tempFilePath;
          wx.openDocument({
            filePath:data,
            fileType:\'pdf\'
          })
        }
      })


原文来自:https://developers.weixin.qq.com/miniprogram/dev/api/file/wx.openDocument.html

分类:

技术点:

相关文章:

  • 2021-07-24
  • 2022-01-13
  • 2022-02-27
  • 2021-12-05
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2021-04-08
猜你喜欢
  • 2021-12-24
  • 2022-01-24
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-08-29
相关资源
相似解决方案