fix(接口发送时机): 修复修改资料后没获取到最新信息
This commit is contained in:
parent
81be997945
commit
21930313f5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user