From 02e66850c72bdfc53d523a4edc5c8f08b0ba7b61 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 18:22:16 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E9=82=80=E8=AF=B7=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/users/user_spread_code/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/uni-app/pages/users/user_spread_code/index.vue b/template/uni-app/pages/users/user_spread_code/index.vue index b7011e3b8..81c9f9e38 100644 --- a/template/uni-app/pages/users/user_spread_code/index.vue +++ b/template/uni-app/pages/users/user_spread_code/index.vue @@ -220,7 +220,7 @@ // #endif // #ifdef APP-PLUS img = await this.imgToBase(res.data.spread[i].pic, res.data.qrcode) - arr2 = [img.code || this.codeSrc, img.image] + arr2 = [this.codeSrc, img.image] // #endif that.$util.userPosterCanvas(arr2, res.data.nickname, res.data.site_name, i, this.wd, this.hg, ( tempFilePath) => { @@ -247,6 +247,7 @@ this.mpUrl = res.data.url }, async imgToBase(url, code) { + console.log(url, code); let res = await imgToBase({ image: url, code: code