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

@@ -10,14 +10,14 @@ import IssuePeriod from "./issue-period.vue";
const { t } = useI18n();
const now = useNow();
const { data: categories = [] } = await safeClient(client.api.rwa.issuance.categories.get());
const { data: categories } = await safeClient(() => client.api.rwa.issuance.categories.get());
const step = useRouteQuery<number>("step", 1, { transform: v => Number(v), mode: "push" });
const initialData: RwaIssuanceProductBody = {
product: {
name: "",
code: "",
categoryId: categories!.length > 0 ? categories![0].id : "",
categoryId: categories.value!.length > 0 ? categories.value![0].id : "",
},
editions: [
{