From 61a6b512f58348bf202d36b06faa57a4b2318be3 Mon Sep 17 00:00:00 2001 From: mixbo Date: Tue, 7 Nov 2023 16:30:25 +0800 Subject: [PATCH] Fixed navbar item link event break bug --- .vitepress/config.mts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index a04a2ace..1b6c1d4f 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -98,8 +98,8 @@ export default defineConfig({ themeConfig: { siteTitle: "帮助中心", nav: [ - { text: "首页", link: "/" }, - { text: "关于我们", link: "/zh-CN/about" }, + { text: "首页", link: "/", target: "_self" }, + { text: "关于我们", link: "/zh-CN/about", target: "_self" }, { text: "LongPort OpenAPI", link: "https://open.longportapp.com", @@ -125,8 +125,8 @@ export default defineConfig({ themeConfig: { siteTitle: "幫助中心", nav: [ - { text: "首頁", link: "/" }, - { text: "關於我們", link: "/zh-HK/about" }, + { text: "首頁", link: "/", target: "_self" }, + { text: "關於我們", link: "/zh-HK/about", target: "_self" }, { text: "LongPort OpenAPI", link: "https://open.longportapp.com/zh-HK",