diff --git a/src/router/index.ts b/src/router/index.ts index b028f3e..5a1c8bb 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -39,6 +39,21 @@ export const constantRoutes: Array<RouteRecordRaw> = [ } } ] + }, + { + path: "/link", + component: Layout, + children: [ + { + path: "https://juejin.cn/post/7089377403717287972", + component: () => {}, + name: "Link", + meta: { + title: "外链", + icon: "link" + } + } + ] } ]