Browse Source

[合并]合并代码

master
邵佳豪 4 years ago
parent
commit
e1bf251bb9
  1. 8
      src/app/app-routing.module.ts

8
src/app/app-routing.module.ts

@ -12,6 +12,7 @@ import { AddSixFamiliarComponent } from './ui/add-six-familiar/add-six-familiar.
const routes: Routes = [
{path:'',redirectTo:'login',pathMatch:'full'},
{
@ -31,8 +32,11 @@ const routes: Routes = [
component:LoginComponent},
{path:'getNoMToken',
component:MTokenK1Component, canActivate: [AuthGuard],}, //K1秘钥验证失败是跳转页面
];
component:MTokenK1Component, canActivate: [AuthGuard],},
//K1秘钥验证失败是跳转页面
{path:'home', component:HomeComponent,canActivate: [AuthGuard],}//守卫验证
]
@NgModule({
imports: [RouterModule.forRoot(routes)],

Loading…
Cancel
Save