refactor
This commit is contained in:
parent
1dbc5fac84
commit
079f0dfd70
|
@ -89,7 +89,6 @@ function share() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
const qrCodeInstance = new QRCodeStyling({
|
const qrCodeInstance = new QRCodeStyling({
|
||||||
width: 512,
|
width: 512,
|
||||||
height: 512,
|
height: 512,
|
||||||
|
@ -126,6 +125,7 @@ onMounted(() => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
if (qrCodeEl.value != null) {
|
if (qrCodeEl.value != null) {
|
||||||
qrCodeInstance.append(qrCodeEl.value);
|
qrCodeInstance.append(qrCodeEl.value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue