This commit is contained in:
wwt 2025-02-27 14:50:19 +08:00
parent 0e351422ef
commit 2b4e92a8c9

View File

@ -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>