Skip to content

Commit f55e7f0

Browse files
committed
Added click event and added functions
1 parent 2c20209 commit f55e7f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<br>
1717
</template>
1818
<template #actions>
19-
<p class="text-[16px] text-blue-400">SVG</p>
19+
<p class="text-[16px] text-blue-400" @click="downloadSVG(newQrCodeImg)">SVG</p>
2020
<p class="text-[16px] text-blue-400" @click="downloadPNG(newQrCodeImg)">PNG</p>
21-
<p class="text-[16px] text-blue-400">JPG</p>
21+
<p class="text-[16px] text-blue-400" @click="downloadJPG(newQrCodeImg)">JPG</p>
2222
</template>
2323
</a-card>
2424
</div>

0 commit comments

Comments
 (0)