BUG:
getqrcode: function () {
wx.showLoading({
title: '正在生成',
});
const _self = this;
const appPath = encodeURIComponent("pages/detail/index?joinid=" + this.data.JoinId);
const path = config.baseUrl + "/wxopen/qrcode?wxappid=" + app.globalData.wxappid + "&Path=" + appPath;
wx.downloadFile({
url: path, //仅为示例,并非真实的资源
success: function (qrcode) {
console.log(qrcode);
if (qrcode.statusCode === 200) {
var url = _self.data.activity.Img_face[0].replace("http://", "https://");
wx.downloadFile({
url: url, //仅为示例,并非真实的资源
success: function (joinImg) {
if (joinImg.statusCode === 200) _self.getcanvas(qrcode.tempFilePath, joinImg.tempFilePath);
}
})
}
}
})
}
返回unknown的后缀名文件是无法使用的,求官方给解答或者解决
没有解决吗?????
官方的人呢?没人给解决一下吗???