no message

cyl/job_im
jscyl13849007907 1 week ago
parent 49d3faded7
commit 5a418dec47

@ -657,16 +657,16 @@ export default {
uni.downloadFile({ uni.downloadFile({
url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png", url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png",
success(res) { success(res) {
// console.log(res); const img = canvas.createImage();
// const img = canvas.createImage(); img.src = res.tempFilePath;
// img.src = res.tempFilePath; img.onload = () => {
// img.onload = () => { that.G.roundRect(ctx, img, 60, 60, 150, 150, 0);
// that.G.roundRect(ctx, img, baseLeft, baseTop + 108, QRSize, QRSize, 0);
// };
resolve(); resolve();
};
}, },
fail(err) { fail(err) {
console.log(err); console.log(err);
resolve();
}, },
}); });
}); });
@ -964,16 +964,16 @@ export default {
uni.downloadFile({ uni.downloadFile({
url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png", url: that.miniAppInfo.logo || "https://matripe.oss-cn-beijing.aliyuncs.com/default.png",
success(res) { success(res) {
// // console.log(res); const img = canvas.createImage();
// const img = canvas.createImage(); img.src = res.tempFilePath;
// img.src = res.tempFilePath; img.onload = () => {
// img.onload = () => { that.G.roundRect(ctx, img, 60, 60, 150, 150, 0);
// that.G.roundRect(ctx, img, baseLeft, baseTop + 108, QRSize, QRSize, 0);
// };
resolve(); resolve();
};
}, },
fail(err) { fail(err) {
// console.log(err); // console.log(err);
resolve();
}, },
}); });
}); });

Loading…
Cancel
Save