fix
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
import { Router } from '@angular/router';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-home',
|
selector: 'app-home',
|
||||||
@@ -7,10 +9,10 @@ import { Component } from '@angular/core';
|
|||||||
})
|
})
|
||||||
export class HomePage {
|
export class HomePage {
|
||||||
|
|
||||||
constructor() {}
|
constructor(private router: Router) {}
|
||||||
|
|
||||||
|
|
||||||
startLogin(){
|
startLogin(){
|
||||||
alert(1000);
|
// alert(1000);
|
||||||
|
this.router.navigate(['/dash'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user