feat: 增加no-data组件

This commit is contained in:
rd
2025-07-01 16:39:47 +08:00
parent bc5aea9457
commit 817b648420
12 changed files with 139 additions and 45 deletions

View File

@ -14,13 +14,13 @@
@refresh="getProductList"
/>
</div>
<a-empty v-if="products.length === 0" />
<NoData v-if="products.length === 0" />
</Container>
<Container title="成功案例" class="body mt-24px">
<div class="flex flex-wrap">
<Case v-for="item in cases" :key="item.id" class="mt-20px ml-20px" :data="item"></Case>
</div>
<a-empty v-if="cases.length === 0" />
<NoData v-if="cases.length === 0" />
</Container>
</div>
</template>