fix(接口发送时机): 修复修改资料后没获取到最新信息

This commit is contained in:
hzj 2025-11-18 10:46:08 +08:00
parent 81be997945
commit 21930313f5

View File

@ -354,7 +354,7 @@ const uploadImgUrl = async () => {
}
//
const Submit = () => {
const Submit = async () => {
//
console.log('checkStatus.value:', checkStatus.value)
@ -362,10 +362,10 @@ const Submit = () => {
applyInfo.value.passportFrontUrl = JSON.stringify(resImgUrls.value)
if (updateStatus.value) {
console.log('更新信息:', applyInfo.value)
updateWithdrawInfoData()
await updateWithdrawInfoData()
} else {
console.log('添加信息:', applyInfo.value)
addWithdrawInfoData()
await addWithdrawInfoData()
}
// availableIncome ()
router.go(-1)