fix downloading icon

This commit is contained in:
jxxghp
2023-08-17 14:37:09 +08:00
parent 76592cfbb8
commit 309e85c024

View File

@@ -109,9 +109,10 @@ async function deleteDownload() {
</VCardText>
<VCardActions class="justify-space-between">
<VBtn @click="toggleDownload">
<span class="ms-2">{{ isDownloading ? "暂停" : "开始" }}</span>
</VBtn>
<VBtn
:icon="`${isDownloading ? 'mdi-pause' : 'mdi-play'}`"
@click="toggleDownload"
/>
<VBtn
color="error"
icon="mdi-trash-can-outline"