mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-09-17 14:54:15 +00:00
📝 Docs: 更新到 nonepress 3.8.0 (#4126)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user