1
xuxueyang
2024-08-02 e89b10852381b2dc3c83e147194bccdec9017172
sub_pages/partner/partner-info/partner-code.vue
@@ -39,7 +39,7 @@
         initcode() {
            let that = this
            const query = uni.createSelectorQuery()
            query.select('#myQrcode')
               .fields({
                  node: true,
@@ -50,8 +50,8 @@
                  that.canvas = canvas
                  // 调用方法drawQrcode生成二维码
                  drawQrcode({
                     callback:function(e){
                        console.log('drawQrcode callback',e)
                     callback: function(e) {
                        console.log('drawQrcode callback', e)
                     },
                     canvas: canvas,
                     canvasId: 'myQrcode',
@@ -62,8 +62,9 @@
                     foreground: '#000000',
                     text: JSON.stringify({
                        'name': that.name,
                        'userId': that.currentInfo.id,
                        'version': '1.0.0'
                        // 'userId': that.currentInfo.id,
                        'userId': that.currentInfo.partnerDTO.id,
                        'version': '1.1.0'
                     }),
                     // text: `https://www.hmyxianhua.com/wx-c-jump/sub_pages/customer/customer-info/customer-info?name=${that.name}&userId=${that.currentInfo.id}`
                     // JSON.stringify({