1
2
3
4
5
6
7
8
9
10
11
wx.downloadFile({
        url:"https://xxxxxx.pdf",
        success(res){
          console.log(res)
          let data = res.tempFilePath;
          wx.openDocument({
            filePath:data,
            fileType:'pdf'
          })
        }
      })

  

posted on   chenlw101  阅读(2053)  评论(2编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示