|
@@ -58,6 +58,10 @@ export default {
|
|
|
if (this.type == '2') this.toWxLogin();
|
|
|
},
|
|
|
async toBind() {
|
|
|
+ console.log(this.uid);
|
|
|
+ console.log(this.qrcode);
|
|
|
+ console.log(this.type);
|
|
|
+ console.log(this.openid);
|
|
|
const res = await this.userBind({ uid: this.uid, openid: this.openid, qrcode: this.qrcode, type: this.type });
|
|
|
if (res.errcode === 0) {
|
|
|
this.$toast({ type: 'success', message: '绑定成功' });
|