fix: log empty tip

This commit is contained in:
tbphp
2025-07-12 22:56:49 +08:00
parent 95b52464a6
commit 2fd7bdfb78

View File

@@ -8,7 +8,6 @@ import {
NDataTable, NDataTable,
NDatePicker, NDatePicker,
NEllipsis, NEllipsis,
NEmpty,
NIcon, NIcon,
NInput, NInput,
NInputGroup, NInputGroup,
@@ -257,9 +256,6 @@ function changePageSize(size: number) {
<div class="table-container"> <div class="table-container">
<n-spin :show="loading"> <n-spin :show="loading">
<n-data-table :columns="columns" :data="logs" :bordered="false" remote size="small" /> <n-data-table :columns="columns" :data="logs" :bordered="false" remote size="small" />
<div v-if="logs.length === 0 && !loading" class="empty-container">
<n-empty description="没有找到匹配的日志" />
</div>
</n-spin> </n-spin>
</div> </div>