no message

cyl/job_im
jscyl13849007907 1 week ago
parent adde3fa94b
commit defd6a3f60

@ -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();
},
});
});

Loading…
Cancel
Save