wolyshaw 4 anos atrás
pai
commit
413fffada2
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/teamBuild/modals/change-voice.vue

+ 2 - 2
src/views/teamBuild/modals/change-voice.vue

@@ -400,8 +400,8 @@ export default {
     },
     onCreateQRCode () {
       setTimeout(() => {
-        document.getElementById('qrcode').innerHTML = '';
-        this.qrcode = new QRCode('qrcode', {
+        this.$refs.qrCodeUrl.innerHTML = '';
+        this.qrcode = new QRCode(this.$refs.qrCodeUrl, {
           width: 200,
           height: 200,
           colorDark: '#000000',