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 } }