fix: retain pending Toast and Table fidelity corrections
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
import { IconInbox } from "@tabler/icons-vue";
|
||||
import {
|
||||
EmptyState,
|
||||
Table,
|
||||
TableBody,
|
||||
TableCell,
|
||||
TableColumn,
|
||||
TableContent,
|
||||
TableHeader,
|
||||
TableRow,
|
||||
TableScrollContainer,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
@@ -22,17 +21,15 @@ import {
|
||||
<TableColumn>状态</TableColumn>
|
||||
<TableColumn>邮箱</TableColumn>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
<TableRow row-key="empty" :is-disabled="true">
|
||||
<TableCell :colspan="4">
|
||||
<div
|
||||
class="flex h-full w-full flex-col items-center justify-center gap-4 py-8 text-center"
|
||||
>
|
||||
<IconInbox class="size-6 text-muted" aria-hidden="true" />
|
||||
<span class="text-sm text-muted">未找到结果</span>
|
||||
</div>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
<TableBody :colspan="4">
|
||||
<template #empty>
|
||||
<EmptyState
|
||||
class="flex h-full w-full flex-col items-center justify-center gap-4 text-center"
|
||||
>
|
||||
<IconInbox class="size-6 text-muted" aria-hidden="true" />
|
||||
<span class="text-sm text-muted">未找到结果</span>
|
||||
</EmptyState>
|
||||
</template>
|
||||
</TableBody>
|
||||
</TableContent>
|
||||
</TableScrollContainer>
|
||||
|
||||
Reference in New Issue
Block a user