li.shaoyi před 1 dnem
rodič
revize
95a3e7ed1e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)