feat: 增加no-data组件
This commit is contained in:
@ -23,6 +23,9 @@
|
||||
:pagination="false"
|
||||
@change="handleChange"
|
||||
>
|
||||
<template #empty>
|
||||
<NoData />
|
||||
</template>
|
||||
<template #heatLevel>
|
||||
<a-space>
|
||||
<span>热度指数</span>
|
||||
@ -110,6 +113,9 @@
|
||||
:pagination="false"
|
||||
@change="handleChange"
|
||||
>
|
||||
<template #empty>
|
||||
<NoData />
|
||||
</template>
|
||||
<template #felling="{ record }">
|
||||
<div class="flex items-center">
|
||||
<img :src="fellingStatus[record.felling].icon" class="w-20px h-20px mr-4px" />
|
||||
@ -142,6 +148,9 @@
|
||||
:pagination="false"
|
||||
@change="handleChange"
|
||||
>
|
||||
<template #empty>
|
||||
<NoData />
|
||||
</template>
|
||||
<template #rank="{ record }">
|
||||
<img v-if="record.rank == 1" :src="topImages[0]" style="width: 25px; height: 17px" />
|
||||
<img v-else-if="record.rank == 2" :src="topImages[1]" style="width: 25px; height: 17px" />
|
||||
|
||||
Reference in New Issue
Block a user