From 048a0388b65d5c9875202195857a86e329231f54 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Fri, 4 Dec 2026 16:01:16 +0800 Subject: [PATCH] docs: fix homepage hero navigation --- docs/.vitepress/theme/Hero.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/theme/Hero.vue b/docs/.vitepress/theme/Hero.vue index 8b14799511..65ba8c4af1 100644 --- a/docs/.vitepress/theme/Hero.vue +++ b/docs/.vitepress/theme/Hero.vue @@ -40,7 +40,7 @@ const { frontmatter } = useData(); v-for="action in frontmatter.hero.actions" :key="action.text" :href="action.link" - :target="action.link?.startsWith('http') ? '_blank' : ''" + :target="action.link?.startsWith('http') ? '_blank' : undefined" class="button inline-block w-fit" :class="{ 'button--primary': action.theme === 'brand' }" >