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