feat: 添加银行账户和货币选择组件,优化提现页面交互体验

This commit is contained in:
2026-01-10 17:33:59 +07:00
parent 3cd91fcad0
commit 3111436054
8 changed files with 151 additions and 40 deletions

View File

@@ -7,7 +7,7 @@ interface State {
balances: BalancesData;
fundingBalances: BalancesData;
tradingBalances: BalancesData;
bankAccounts: BankAccountsData["data"];
bankAccounts: BankAccountsData[];
supportBanks: SupportBanksData["data"];
}
@@ -57,7 +57,7 @@ export const useWalletStore = defineStore("wallet", () => {
state.tradingBalances = balances.value || [];
}
async function syncBankAccounts(data?: BankAccountsData["data"]) {
async function syncBankAccounts(data?: BankAccountsData[]) {
if (data) {
state.bankAccounts = data;
return;