This commit is contained in:
jxxghp
2023-08-04 19:17:10 +08:00
parent 6dbbef2c4c
commit 7beb046d7b
2 changed files with 14 additions and 3 deletions

View File

@@ -34,6 +34,17 @@ onMounted(() => {
<VCol cols="12">
<VCard title="实时日志">
<VCardText>
<div
v-if="logs.length === 0"
class="mt-5 w-full text-center text-gray-500 text-sm flex flex-col items-center"
>
<VProgressCircular
size="48"
indeterminate
color="primary"
/>
<span class="mt-3">正在刷新 ...</span>
</div>
<div v-for="(log, i) in logs" :key="i">
{{ log }}
</div>