feat: 增加no-data组件
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user