fix(KYC页面): 修复获取上一次注入图片的问题
This commit is contained in:
parent
5268820610
commit
cfd80f05ba
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user