feat: 更新银行卡管理功能,添加银行卡和删除银行卡的逻辑,优化API请求方式

This commit is contained in:
2025-12-17 01:31:17 +07:00
parent 88b05581b5
commit 3cdb71effc
14 changed files with 564 additions and 29 deletions

View File

@@ -4,8 +4,9 @@ import { client, safeClient } from "./api";
const walletStore = useWalletStore();
onMounted(async () => {
const { data } = await safeClient(client.api.asset.balances.get());
walletStore.state.balances = data;
const { data } = await safeClient(() => client.api.asset.balances.get(), { silent: true });
walletStore.state.balances = data.value;
client.api.rwa.issuance.products.get();
console.log("App mounted successfully");
});
</script>