share(){ wx.downloadFile({ url: '', // 下载url success (res) {// 下载完成后转发 wx.shareFileMessage({ filePath: res.tempFilePath, success() { }, fail: console.error, }) }, fail: console.error, }) },
标签:uniapp,console,success,url,res,error,pdf,分享 From: https://www.cnblogs.com/wcq520/p/17767604.html