所有页面没有数据时显示内容修改

This commit is contained in:
2026-10-08 14:12:54 +08:00
parent 4ab213e396
commit a26075d61b
12 changed files with 60 additions and 24 deletions
+4 -4
View File
@@ -286,10 +286,7 @@ onMounted(() => {
</span>
</div>
<div class="space-y-2 scroll">
<div class="flex flex-col gap-3">
<div v-if="list.length===0" class="text-center text-slate-400">
暂无数据
</div>
<div v-if="list.length" class="flex flex-col gap-3">
<div
class="border border-slate-200 p-4"
:style="{ borderRadius: themeStore.themeRadius + 'px' }"
@@ -430,6 +427,9 @@ onMounted(() => {
</div>
</div>
</div>
<div v-else class="h-100% flex items-center justify-center">
<NEmpty description="暂无数据"></NEmpty>
</div>
</div>
<!-- 进度弹框 -->
<NDrawer v-model:show="progressDrawer" :width="502" placement="right">