Browse Source

增加打印

gemercheung 3 năm trước cách đây
mục cha
commit
a29a14a3fe
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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