li.shaoyi 1 hari lalu
induk
melakukan
95a3e7ed1e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)