]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: fix incorrect link url (#1944)
authorbleenCN <132842163+bleenCN@users.noreply.github.com>
Sat, 29 Jul 2023 17:27:15 +0000 (01:27 +0800)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2023 17:27:15 +0000 (19:27 +0200)
packages/docs/.vitepress/config/zh.ts

index 985730c40fffd8082ca11613f9bf9eb853172fad..0776b666667f6f27437a109022ddd6a05ebd8701 100644 (file)
@@ -56,7 +56,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
       '/zh/api/': [
         {
           text: 'packages',
-          items: [{ text: 'vue-router', link: '/api/' }],
+          items: [{ text: 'vue-router', link: '/zh/api/' }],
         },
       ],
 
@@ -153,7 +153,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
             },
             {
               text: '类型化路由',
-              link: '/zh/guide/advanced/typed-routes.html'
+              link: '/zh/guide/advanced/typed-routes.html',
             },
             {
               text: '扩展 RouterLink',