|
|
@ -4,7 +4,9 @@ Component({ |
|
|
data: { |
|
|
data: { |
|
|
qrcodeValue: 'https://www.baidu.com', |
|
|
qrcodeValue: 'https://www.baidu.com', |
|
|
visible: false, |
|
|
visible: false, |
|
|
qrCodeImage: '' |
|
|
qrCodeImage: '', |
|
|
|
|
|
inviteUserId: '', |
|
|
|
|
|
gridId: '' |
|
|
}, |
|
|
}, |
|
|
properties: { |
|
|
properties: { |
|
|
dialogVisible: { |
|
|
dialogVisible: { |
|
|
@ -77,8 +79,8 @@ Component({ |
|
|
}, |
|
|
}, |
|
|
createQRCode () { |
|
|
createQRCode () { |
|
|
const para = { |
|
|
const para = { |
|
|
gridId: '1169158285790900226', |
|
|
gridId: this.data.gridId, |
|
|
inviteUserId: '31f31a620399d18a39329f663437da72' |
|
|
inviteUserId: this.data.inviteUserId |
|
|
} |
|
|
} |
|
|
createQRCode(para).then(res => { |
|
|
createQRCode(para).then(res => { |
|
|
console.log('生成邀请二维码', res) |
|
|
console.log('生成邀请二维码', res) |
|
|
|