guhongwei há 4 anos atrás
pai
commit
21c6d30a55
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/userCenter/basicInfo/index.vue

+ 1 - 1
src/views/userCenter/basicInfo/index.vue

@@ -295,7 +295,7 @@ export default {
     },
     creatQrCode() {
       var qrcode = new QRCode(this.$refs.qrCodeUrl, {
-        text: 'http://free.liaoningdoupo.com/api/auth/wxchattest?redirect_uri=http://localhost:8002/bind&type=1&uid=5ecc7df9c1707e1c3054204f&openid=05', // 需要转换为二维码的内容
+        text: 'http://free.liaoningdoupo.com/api/auth/wxchattest?redirect_uri=http://free.liaoningdoupo.com/bind&type=1&uid=' + this.user.uid, // 需要转换为二维码的内容
         width: 100,
         height: 100,
         colorDark: '#000000',