fix: 无法设置非默认下载器状态

This commit is contained in:
wumode
2025-06-13 08:50:54 +08:00
parent bc7166789b
commit 6dbc3f4bab
2 changed files with 13 additions and 3 deletions

View File

@@ -79,7 +79,12 @@ onUnmounted(() => {
<LoadingBanner v-if="!isRefreshed" class="mt-12" />
<VPullToRefresh v-model="loading" @load="onRefresh" :pull-down-threshold="64">
<div v-if="filteredDataList.length > 0" class="grid gap-4 grid-downloading-card">
<DownloadingCard v-for="data in filteredDataList" :key="data.hash" :info="data" />
<DownloadingCard
v-for="data in filteredDataList"
:key="data.hash"
:info="data"
:downloader-name="props.name"
/>
</div>
<NoDataFound
v-if="filteredDataList.length === 0 && isRefreshed"