feat: 更新 API 地址,添加分类组件,优化市场页面布局和功能
This commit is contained in:
@@ -17,7 +17,7 @@ const initialData: RwaIssuanceProductBody = {
|
||||
product: {
|
||||
name: "",
|
||||
code: "",
|
||||
categoryId: categories.value!.length > 0 ? categories.value![0].id : "",
|
||||
categoryId: categories.value?.data && categories.value?.data!.length > 0 ? categories.value?.data![0].id : "",
|
||||
},
|
||||
editions: [
|
||||
{
|
||||
@@ -55,7 +55,7 @@ async function handleSubmit(editions: RwaIssuanceProductBody["editions"]) {
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<IonContent :fullscreen="true" class="ion-padding">
|
||||
<Base v-if="step === 1" :initial-data="form.product" :categories="categories || []" @next="handleNext" />
|
||||
<Base v-if="step === 1" :initial-data="form.product" :categories="categories" @next="handleNext" />
|
||||
<IssuePeriod v-else-if="step === 2" :initial-data="form.editions" @submit="handleSubmit" />
|
||||
<Done v-else />
|
||||
</IonContent>
|
||||
|
||||
Reference in New Issue
Block a user