From 4d0cea270fe7f4b0a30d57075d8a52b95fdeb51b Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Tue, 9 Dec 2025 18:38:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=87=91=E5=B8=81=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E4=B8=AD=E5=BF=83):=20=E4=BF=AE=E5=A4=8D=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/RechargeAgency/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/RechargeAgency/index.vue b/src/views/RechargeAgency/index.vue index d9075f0..0dec141 100644 --- a/src/views/RechargeAgency/index.vue +++ b/src/views/RechargeAgency/index.vue @@ -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) {