Update CommandHistoryView.vue
This commit is contained in:
@@ -21,8 +21,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- List Area -->
|
<!-- List Area -->
|
||||||
<div class="flex-grow overflow-y-auto p-2">
|
<div class="flex-grow overflow-y-auto p-2">
|
||||||
<!-- Loading State -->
|
<!-- Loading State (Only show if loading AND no history is displayed yet) -->
|
||||||
<div v-if="isLoading" class="p-6 text-center text-text-secondary text-sm flex flex-col items-center justify-center h-full">
|
<div v-if="isLoading && filteredHistory.length === 0" class="p-6 text-center text-text-secondary text-sm flex flex-col items-center justify-center h-full">
|
||||||
<i class="fas fa-spinner fa-spin text-xl mb-2"></i>
|
<i class="fas fa-spinner fa-spin text-xl mb-2"></i>
|
||||||
<p>{{ $t('commandHistory.loading', '加载中...') }}</p>
|
<p>{{ $t('commandHistory.loading', '加载中...') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user