From 34ff380731f16687187184c87c0f3510a2f20273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BE=E5=87=A0=E6=B5=B7?= Date: Wed, 5 Aug 2020 12:55:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E9=A1=B5=E9=9D=A2=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app-routing.module.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 76d430f..93fb679 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -11,17 +11,15 @@ const routes: Routes = [ {path: 'resetPwd', loadChildren: () => import('./view/reset-pwd/reset-pwd.module').then(mod => mod.ResetPwdModule)}, {path: 'write', loadChildren: () => import('./view/write/write.module').then(mod => mod.WriteModule)}, {path: 'links', loadChildren: () => import('./view/link/link.module').then(mod => mod.LinkModule)}, + {path: 'admin', loadChildren: () => import('./view/admin/admin.module').then(mod => mod.AdminModule)}, + {path: 'maintain', loadChildren: () => import('./view/maintain/maintain.module').then(mod => mod.MaintainModule)}, { path: 'emailVerify', loadChildren: () => import('./view/email-verify/email-verify.module').then(mod => mod.EmailVerifyModule) }, { - path: 'user', loadChildren: () => import('./view/login-registration/login-registration.module') - .then(mod => mod.LoginRegistrationModule) - }, - { - path: 'admin', - loadChildren: () => import('./view/admin/admin.module').then(mod => mod.AdminModule), + path: 'user', + loadChildren: () => import('./view/login-registration/login-registration.module').then(mod => mod.LoginRegistrationModule) }, { path: '**',