Browse Source

增加打印

gemercheung 3 years ago
parent
commit
a29a14a3fe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      pages/shared/shared.js

+ 2 - 1
pages/shared/shared.js

@@ -40,11 +40,12 @@ Page({
     let data = await this.getBrandDetail(id, type)
     this.sceneUrl = data.sceneUrl
     this.shareCodeImg = data.shareWxQrCode
-    
+
     this.setData({
       shared_img: data.appListPicUrl || 'https://plaza.4dkankan.com/statics/img/pic_bg@2x.png',
       layoutHeight: wx.getSystemInfoSync().windowHeight - 170
     })
+    console.log('分享QRCODE', this.shareCodeImg);
     const query = wx.createSelectorQuery()
     query.select('.canvas').boundingClientRect().exec(res => {
       this.canvas_width = res[0].width