diff --git a/static/images/qrCode.jpg b/static/images/qrCode.jpg new file mode 100644 index 0000000..927ec18 Binary files /dev/null and b/static/images/qrCode.jpg differ diff --git a/subpkg/complete/complete.vue b/subpkg/complete/complete.vue index ff083cb..44db405 100644 --- a/subpkg/complete/complete.vue +++ b/subpkg/complete/complete.vue @@ -157,7 +157,7 @@ }; }, onLoad(options) { - this.getQR(); + // this.getQR(); this.timer = setTimeout(() => { this.showMedal = false this.showLayer = false @@ -344,8 +344,7 @@ image.src = '/static/images/share_bg.jpg' // 图片对象 const imageQR = canvas.createImage() - console.log(this.imageQR) - imageQR.src = this.imageQR + imageQR.src = '/static/images/qrCode.jpg' image.onload = () => { // 将图片绘制到 canvas 上 context.drawImage(image, 0, 0, 350, 450)