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',