fix bug
This commit is contained in:
parent
0e351422ef
commit
2b4e92a8c9
@ -231,7 +231,7 @@ const geYYtUserInfo = async () => {
|
|||||||
remark.value = res.data.remark
|
remark.value = res.data.remark
|
||||||
userName.value = res.data.userName
|
userName.value = res.data.userName
|
||||||
standard.value = res.data.standard
|
standard.value = res.data.standard
|
||||||
|
balance.value = res.data.balance
|
||||||
} else {
|
} else {
|
||||||
if (res.data.isOver) {
|
if (res.data.isOver) {
|
||||||
showfail.value = true
|
showfail.value = true
|
||||||
@ -248,8 +248,6 @@ onMounted(async () => {
|
|||||||
router.push('/login')
|
router.push('/login')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let userInfo = JSON.parse(localStorage.getItem('accountInfo'))
|
|
||||||
balance.value = userInfo ? userInfo.balance : '';
|
|
||||||
await geYYtUserInfo()
|
await geYYtUserInfo()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user