From cfd80f05ba934f186d586a02ef1498aea5d4530d Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Thu, 13 Nov 2025 14:15:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(KYC=E9=A1=B5=E9=9D=A2):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=8E=B7=E5=8F=96=E4=B8=8A=E4=B8=80=E6=AC=A1=E6=B3=A8?= =?UTF-8?q?=E5=85=A5=E5=9B=BE=E7=89=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Wallet/CashOut/KYC.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Wallet/CashOut/KYC.vue b/src/views/Wallet/CashOut/KYC.vue index 509d35e..2a01c03 100644 --- a/src/views/Wallet/CashOut/KYC.vue +++ b/src/views/Wallet/CashOut/KYC.vue @@ -207,9 +207,7 @@ const count = computed(() => applyInfo.value.otherDescription.length) //字数 const tempFiles = ref([]) //用于提交的临时图片文件列表 // const previewUrls = ref([]) //预览图片数组 const resImgUrls = ref([]) //用于提交申请的图片数组 -const lastImgUrl = computed(() => { - return resImgUrls.value.length > 0 ? resImgUrls.value[resImgUrls.value.length - 1] : null -}) //上一次最新添加的图片 +const lastImgUrl = ref(null) //上一次最新添加的图片 const updateStatus = ref(false) //是否为修改 @@ -370,6 +368,8 @@ const getWithdrawInfoListData = async () => { applyInfo.value = resWithdrawInfoList.body[0] let imgList = JSON.parse(resWithdrawInfoList.body[0].passportFrontUrl) resImgUrls.value = imgList.map((item) => item) + lastImgUrl.value = + resImgUrls.value.length > 0 ? resImgUrls.value[resImgUrls.value.length - 1] : null } } catch (error) { console.error('获取提现信息列表失败:', error)