fix(金币代理中心): 修复报错

This commit is contained in:
hzj 2025-12-09 18:38:28 +08:00
parent 60468f1d70
commit 4d0cea270f

View File

@ -354,25 +354,27 @@ const checkingAccess = ref(true)
const coinsAmount = ref('0')
const loadingBalance = ref(false)
const freightThreshold = ref(null)
const AmountList = computed(() => {
return [
{
id: 1,
type: '>$0',
value: 0,
selectedStatus: freightThreshold.value.deliveryThreshold == 0,
selectedStatus: freightThreshold.value?.deliveryThreshold == 0,
},
{
id: 2,
type: '>=$10',
value: 10,
selectedStatus: freightThreshold.value.deliveryThreshold == 10,
selectedStatus: freightThreshold.value?.deliveryThreshold == 10,
},
{
id: 3,
type: '>=$50',
value: 50,
selectedStatus: freightThreshold.value.deliveryThreshold == 50,
selectedStatus: freightThreshold.value?.deliveryThreshold == 50,
},
]
})
@ -381,8 +383,6 @@ const selectedAmount = ref({})
//
const isAbleSelect = ref(false)
const freightThreshold = ref(null)
//
const amountStyle = (amountItem) => {
if (amountItem.selectedStatus) {