li.shaoyi il y a 1 jour
Parent
commit
95a3e7ed1e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/packages/digital/views/wallet/index.vue

+ 1 - 1
src/packages/digital/views/wallet/index.vue

@@ -45,7 +45,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)