lrf402788946 4 jaren geleden
bovenliggende
commit
d75713a33a
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/views/bind/confirm.vue

+ 2 - 1
src/views/bind/confirm.vue

@@ -67,7 +67,8 @@ export default {
       if (_.isArray(uid)) {
         uid = _.head(uid);
       }
-      const res = await this.userBind({ uid: this.uid, openid: this.openid, qrcode: this.qrcode, type: this.type });
+      console.log(uid);
+      const res = await this.userBind({ uid: uid, openid: this.openid, qrcode: this.qrcode, type: this.type });
       if (res.errcode === 0) {
         this.$toast({ type: 'success', message: '绑定成功' });
         this.display = '2';