🐛 fix empty err

This commit is contained in:
目棃
2025-01-20 11:22:04 +08:00
parent a46f037075
commit b3a7d92887

View File

@@ -6,7 +6,7 @@
<div class="loading-box"> <div class="loading-box">
<div class="loading-title"> <div class="loading-title">
<span>{{ data.title }}</span> <span>{{ data.title }}</span>
<div class="loading-circle" v-show="!empty"> <div class="loading-circle" v-show="!data.empty">
<div /> <div />
<div /> <div />
</div> </div>
@@ -15,7 +15,7 @@
{{ data.subtitle }} {{ data.subtitle }}
</div> </div>
<div class="loading-img"> <div class="loading-img">
<img v-if="!empty" src="/source/UI/loading.webp" alt="loading" /> <img v-if="!data.empty" src="/source/UI/loading.webp" alt="loading" />
<img v-else src="/source/UI/empty.webp" alt="empty" /> <img v-else src="/source/UI/empty.webp" alt="empty" />
</div> </div>
</div> </div>