fix: tag标签重复

main
ppst 1 year ago
parent 1a31d01764
commit 3f96722a53

@ -11,7 +11,7 @@ export function getTags(post: Post[]) {
}) })
} }
} }
// data = [...new Set(data)]; data = [...new Set(data)];
return data.sort() return data.sort()
} }
export function initTags(post: Post[]) { export function initTags(post: Post[]) {

Loading…
Cancel
Save