From b042bd6052d7ccbc46d626632f1ccaaf5c4bca9d Mon Sep 17 00:00:00 2001 From: paulGao Date: Fri, 18 Nov 2022 10:13:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=AF=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=A4=96=E9=83=A8=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/router/router.js | 11 +++++++++- manager/src/views/external-link/index.vue | 26 +++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 manager/src/views/external-link/index.vue diff --git a/manager/src/router/router.js b/manager/src/router/router.js index 68caf921..530eaad7 100644 --- a/manager/src/router/router.js +++ b/manager/src/router/router.js @@ -307,5 +307,14 @@ export const page500 = { component: () => import("@/views/error-page/500.vue") }; +export const externalLink = { + path: "/external-link", + meta: { + title: "外部链接" + }, + name: "external-link", + component: () => import("@/views/external-link/index.vue") +}; + // 所有上面定义的路由都要写在下面的routers里 -export const routers = [loginRouter, otherRouter, page500, page403]; +export const routers = [loginRouter, otherRouter, page500, page403, externalLink]; diff --git a/manager/src/views/external-link/index.vue b/manager/src/views/external-link/index.vue new file mode 100644 index 00000000..92bdf6a9 --- /dev/null +++ b/manager/src/views/external-link/index.vue @@ -0,0 +1,26 @@ + + + +