From 7d51aeb221f5c206e7342cb53d7e2ceb08a6b156 Mon Sep 17 00:00:00 2001 From: CN-traveler <55753029+CN-traveler@users.noreply.github.com> Date: Tue, 6 Sep 2022 15:50:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=BF=E6=8D=A2=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E7=BB=84=E4=BB=B6=20&=20=E6=9B=B4=E6=AD=A3=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=20(#10195)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 替换组件 * 更新管理页面路由 --- config/routes.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/routes.ts b/config/routes.ts index b5a7b748..f4d076a4 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -32,11 +32,14 @@ export default [ icon: 'crown', access: 'canAdmin', routes: [ + { + path: '/admin', + redirect: '/admin/sub-page', + }, { path: '/admin/sub-page', name: 'sub-page', - icon: 'smile', - component: './Welcome', + component: './Admin', }, ], },