📝 Docs: 更新到 nonepress 3.8.0 (#4126)

This commit is contained in:
StarHeart
2026-08-01 16:57:44 +08:00
committed by GitHub
parent b38b1e5261
commit 1b88a6e77d
198 changed files with 2042 additions and 1641 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ export function useToolbar<T extends Resource = Resource>({
icon: ["fas", "tag"],
choices: Array.from(
new Set(
resources.flatMap((resource) => resource.tags.map((tag) => tag.label))
)
resources.flatMap((resource) => resource.tags.map((tag) => tag.label)),
),
),
onSubmit: (tag: string) => {
addFilter(tagFilter(tag));