From c97ee74c44e23fbc80fdd051eef51d96116eb286 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 28 Apr 2022 15:48:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=A4=96=E9=93=BE=20?= =?UTF-8?q?route=20=E6=BC=94=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 = [ } } ] + }, + { + path: "/link", + component: Layout, + children: [ + { + path: "https://juejin.cn/post/7089377403717287972", + component: () => {}, + name: "Link", + meta: { + title: "外链", + icon: "link" + } + } + ] } ]