@ -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);
};
},
fail(err) {
console.log(err);
});