优化订阅列表视图的状态筛选逻辑

This commit is contained in:
jxxghp
2025-07-21 09:53:38 +08:00
parent 752231086d
commit 1e55557154
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ declare let self: ServiceWorkerGlobalScope & {
} }
// 缓存版本控制 // 缓存版本控制
const CACHE_VERSION = 'v1.0.3' const CACHE_VERSION = 'v1.0.4'
const CACHE_NAMES = { const CACHE_NAMES = {
appShell: `app-shell-${CACHE_VERSION}`, appShell: `app-shell-${CACHE_VERSION}`,
static: `static-resources-${CACHE_VERSION}`, static: `static-resources-${CACHE_VERSION}`,
+1 -1
View File
@@ -226,7 +226,7 @@ useDynamicButton({
item-key="id" item-key="id"
tag="div" tag="div"
:component-data="{ class: 'grid gap-4 grid-subscribe-card px-2' }" :component-data="{ class: 'grid gap-4 grid-subscribe-card px-2' }"
:disabled="props.statusFilter !== 'all'" :disabled="props.keyword || (props.statusFilter && props.statusFilter !== 'all')"
> >
<template #item="{ element }"> <template #item="{ element }">
<SubscribeCard :key="element.id" :media="element" @remove="fetchData" @save="fetchData" /> <SubscribeCard :key="element.id" :media="element" @remove="fetchData" @save="fetchData" />