diff --git a/src/pages/reservation/index.vue b/src/pages/reservation/index.vue index c53b10a..33a08d6 100644 --- a/src/pages/reservation/index.vue +++ b/src/pages/reservation/index.vue @@ -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() })