diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index a070bca..4251d83 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -33,7 +33,7 @@ const routes: Routes = [ {path:'firstStep',component:FirstStepComponent}, {path:'firstStep2',component:FirstStepCopyComponent}, {path:'Reset',component:ResetComponent}, - //{path:'LuckDrawBatch',component:LuckDrawBatchComponent} + {path:'LuckDrawBatch',component:LuckDrawComponent}, {path:'fourStep',component:FourStepComponent}, {path:'fourStep2',component:FourStepCopyComponent}, {path:'drawingResult', component:DrawingResultComponent} diff --git a/src/app/ui/first-step-copy/first-step-copy.component.ts b/src/app/ui/first-step-copy/first-step-copy.component.ts index 0960420..8906b0f 100644 --- a/src/app/ui/first-step-copy/first-step-copy.component.ts +++ b/src/app/ui/first-step-copy/first-step-copy.component.ts @@ -62,6 +62,6 @@ export class FirstStepCopyComponent implements OnInit { } } nextstep(){ - this.router.navigate(['/fourStep2']); + window.location.href="/fourStep2"; } } diff --git a/src/app/ui/first-step/first-step.component.html b/src/app/ui/first-step/first-step.component.html index 05147f7..e9fc62a 100644 --- a/src/app/ui/first-step/first-step.component.html +++ b/src/app/ui/first-step/first-step.component.html @@ -25,7 +25,7 @@