|
|
@@ -65,7 +65,7 @@ const accountStore = useAccountStore()
|
|
|
const spotAccountStore = useSpotAccountStore()
|
|
|
|
|
|
const totalBalance = computed(() => {
|
|
|
- const { balance = 0, currencydecimalplace = 2 } = accountStore.getAccountItem({ currencyid: 102 }) ?? {}
|
|
|
+ const { currentbalance: balance = 0, currencydecimalplace = 2 } = accountStore.getAccountItem({ currencyid: 102 }) ?? {}
|
|
|
const { currentbalance = 0 } = spotAccountStore.getAccountItem({ currencyid: 102 }) ?? {}
|
|
|
|
|
|
return Decimal(balance).plus(currentbalance).toFixed(currencydecimalplace)
|