feat: 更新钱包状态管理,优化资产获取逻辑,支持资金和交易账户的分离

This commit is contained in:
2025-12-24 05:28:49 +07:00
parent 64b455dfa6
commit dd1dbd485f
10 changed files with 109 additions and 40 deletions

View File

@@ -13,8 +13,8 @@ const emit = defineEmits<{
const { t } = useI18n();
const walletStore = useWalletStore();
const { balances } = storeToRefs(walletStore);
const currentUSDTBalance = computed(() => balances.value[0].available);
const { fundingBalances } = storeToRefs(walletStore);
const currentUSDTBalance = computed(() => fundingBalances.value[0].available);
const num = ref<number | null>(null);