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