Browse Source

#feat v2路由调整

master
ocean2 1 year ago
parent
commit
7ecea72ebd
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/app/routes/routes.ts

+ 4
- 0
src/app/routes/routes.ts View File

@@ -27,6 +27,10 @@ export const routes: Routes = [
{ path: 'data-v', loadChildren: () => import('./data-v/routes').then(m => m.routes) }
]
},
{
path: 'v2',
children: [{ path: '', loadChildren: () => import('./data-v/routes').then(m => m.routes) }]
},
{ path: '', loadChildren: () => import('./passport/routes').then(m => m.routes) },
{ path: 'exception', loadChildren: () => import('./exception/routes').then(m => m.routes) },
{ path: '**', redirectTo: 'exception/404' }


Loading…
Cancel
Save