This commit is contained in:
eric
2025-11-14 14:23:43 +08:00
parent 44093c35e8
commit 0d8fbb6048
5 changed files with 21 additions and 14 deletions

View File

@@ -42,7 +42,9 @@ function getData() {
return {
...category,
items: category.items?.filter(item => item.enabled !== false), // 过滤启用的网站
// items: category.items?.filter(item => item.enabled !== false), // 过滤启用的网站
items: category.items?.filter((item: any) => item.enabled !== false),
subCategories: filteredSubCategories
}
})