diff --git a/root/person/posterShare.vue b/root/person/posterShare.vue index cc3648b..aa41c25 100644 --- a/root/person/posterShare.vue +++ b/root/person/posterShare.vue @@ -275,13 +275,14 @@ export default { console.log(res); const img = canvas.createImage(); img.src = res.tempFilePath; - // img.onload = () => { - // that.G.roundRect(ctx, img, baseLeft, baseTop + 108, QRSize, QRSize, 0); - // }; - resolve(); + img.onload = () => { + that.G.roundRect(ctx, img, 20, 20, 180, 180, 90); + resolve(); + }; }, fail(err) { console.log(err); + resolve(); }, }); });