feat: 更新钱包状态管理,优化资产获取逻辑,支持资金和交易账户的分离
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user