feat: fix user boughts

This commit is contained in:
Rogee
2025-04-30 21:44:18 +08:00
parent 9c88b14202
commit 53b3556ee9
6 changed files with 11 additions and 8 deletions

View File

@@ -185,7 +185,7 @@ onUnmounted(() => {
<div class="text-orange-600 text-2xl">
<span class="mr-2 text-xl">&yen;</span>
<span class="font-bold font-mono">
{{ (article.price / 100).toFixed(2) }}
{{ (article.price * article.discount / (100 * 100)).toFixed(2) }}
</span>
</div>
<button @click="handleBuy" :disabled="buying"