From-wh 2 лет назад
Родитель
Сommit
6d41caa5e0
1 измененных файлов с 2 добавлено и 2 удалено
  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) => {