feat: fix user boughts
This commit is contained in:
@@ -185,7 +185,7 @@ onUnmounted(() => {
|
||||
<div class="text-orange-600 text-2xl">
|
||||
<span class="mr-2 text-xl">¥</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"
|
||||
|
||||
Reference in New Issue
Block a user