feat(convert,assets): convert page route and assets portfolio chart
Add convert mobile/desktop views and assets chart from price history; polish calculator and wallet/home integration. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -243,8 +243,11 @@ export function useWalletPage() {
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
if (router.currentRoute.value.query.state === 'deposit') {
|
||||
const walletState = router.currentRoute.value.query.state
|
||||
if (walletState === 'deposit') {
|
||||
isDeposit.value = true
|
||||
} else if (walletState === 'withdraw') {
|
||||
isDeposit.value = false
|
||||
}
|
||||
cardForm.value.birth_date = userStore.userInfo?.birth_date
|
||||
await initWalletPageData()
|
||||
|
||||
Reference in New Issue
Block a user