Explorar o código

fix: app邀请码展示

From-wh %!s(int64=2) %!d(string=hai) anos
pai
achega
6d41caa5e0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      template/uni-app/pages/users/user_spread_code/index.vue

+ 2 - 2
template/uni-app/pages/users/user_spread_code/index.vue

@@ -219,8 +219,8 @@
 					arr2 = [img.code || this.codeSrc, img.image]
 					// #endif
 					// #ifdef APP-PLUS
-					img = await this.downloadFilestoreImage(res.data.spread[i].pic)
-					arr2 = [this.codeSrc, img]
+					img = await this.imgToBase(res.data.spread[i].pic, res.data.qrcode)
+					arr2 = [img.code || this.codeSrc, img.image]
 					// #endif
 					that.$util.userPosterCanvas(arr2, res.data.nickname, res.data.site_name, i, this.wd, this.hg, (
 						tempFilePath) => {