From b149d58e275fcff37634ea093b6978d2bbb78179 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Mon, 3 Nov 2025 12:17:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8A=BD=E5=A5=96=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E9=A1=B5):=20=E5=8F=AF=E6=8F=90=E7=8E=B0=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E4=B8=8D=E5=88=B010=E6=97=B6=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=8F=90=E5=8F=96=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Activities/Lottery/Lottery.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/Activities/Lottery/Lottery.vue b/src/views/Activities/Lottery/Lottery.vue index fc15d81..08f29a6 100644 --- a/src/views/Activities/Lottery/Lottery.vue +++ b/src/views/Activities/Lottery/Lottery.vue @@ -383,6 +383,7 @@
Go to withdraw
@@ -888,7 +889,7 @@ const ranking = ref([]) //奖品排名 const activeIndex = ref(-1) // 当前高亮格子 const isRolling = ref(false) // 抽奖状态 const rollTimes = ref(0) // 拥有抽奖券量 -const currentAmount = ref(0) //可提现金额 +const currentAmount = ref({ availableAmount: 0 }) //可提现金额 const result = ref([]) // 抽奖结果 const resultShowIndex = ref(0) const myRecords = ref([]) // 抽奖结果 @@ -1396,8 +1397,6 @@ const getDrawableAmount = async () => { const resDrawableAmount = await withdrawableAmount(activityId.value) if (resDrawableAmount.status && resDrawableAmount.body) { currentAmount.value = resDrawableAmount.body - } else { - currentAmount.value = 0 } }