From 3f96722a53bef43198e8cb2e35bbfdc6c6137d5f Mon Sep 17 00:00:00 2001 From: ppst Date: Fri, 16 Jun 2023 16:35:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tag=E6=A0=87=E7=AD=BE=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vitepress/composables/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vitepress/composables/functions.ts b/src/vitepress/composables/functions.ts index 1e0d2b9..4b03198 100644 --- a/src/vitepress/composables/functions.ts +++ b/src/vitepress/composables/functions.ts @@ -11,7 +11,7 @@ export function getTags(post: Post[]) { }) } } - // data = [...new Set(data)]; + data = [...new Set(data)]; return data.sort() } export function initTags(post: Post[]) {