解决冲突

This commit is contained in:
wangshiming
2022-02-24 10:51:31 +08:00
parent a4a2b45911
commit ad8134c120
3 changed files with 19 additions and 2 deletions

View File

@ -19,6 +19,7 @@ import { AuthGuard } from '../core/guards/auth.guard';
// dashboard pages
import { DashboardComponent } from './dashboard/dashboard.component';
import { OrderAgreementComponent } from './passport/components/order-agreement/order-agreement.component';
const routes: Routes = [
{
@ -74,6 +75,11 @@ const routes: Routes = [
]
},
// passport
{
path: 'agreement',
component: OrderAgreementComponent,
data: { title: '协议', titleI18n: 'app.login.agreement' }
},
{ path: '', loadChildren: () => import('./passport/passport.module').then(m => m.PassportModule) },
{ path: 'exception', loadChildren: () => import('./exception/exception.module').then(m => m.ExceptionModule) },
// 单页不包裹Layout