guhongwei 4 سال پیش
والد
کامیت
274948b74c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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/wxchat?redirect_uri=http://free.liaoningdoupo.com/platmobile/bind/&type=1&uid=' + this.user.uid, // 需要转换为二维码的内容
+        text: `http://free.liaoningdoupo.com/api/auth/wxchat?redirect_uri=http://free.liaoningdoupo.com/platmobile/bind/&type=1&uid=${this.user.uid}`, // 需要转换为二维码的内容
         width: 100,
         height: 100,
         colorDark: '#000000',