fix: tag标签重复
This commit is contained in:
@@ -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[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user