Fix QR code not displaying
This commit is contained in:
parent
0d5429f48f
commit
9d99d78084
1 changed files with 6 additions and 0 deletions
|
@ -23,3 +23,9 @@ onMounted(async () => {
|
||||||
qrSvg = await QRCode.toString(props.url, { type: "svg" })
|
qrSvg = await QRCode.toString(props.url, { type: "svg" })
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
:deep(svg) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue