This commit is contained in:
xingyy 2023-12-20 14:01:06 +08:00
parent 1e0cdd5cde
commit b3aeda2236

View File

@ -56,13 +56,14 @@ const submit=async ()=>{
realName:idInfo.value.name realName:idInfo.value.name
}) })
if (res.code===200){ if (res.code===200){
msg.value.show({ text: '实名成功', model: 'success',duration:2000 }) uni.showToast({
await getUserInfo() title: '实名成功',
setTimeout(()=>{ duration: 1300
})
setTimeout(async ()=>{
getUserInfo()
uni.navigateBack() uni.navigateBack()
},2000) },1300)
} }
} }
const idInfo=ref({ const idInfo=ref({