fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
selector: 'app-home',
|
||||
@@ -7,11 +8,13 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class HomePage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
constructor(private router:Router) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
public goTabPages(){
|
||||
alert("You called me");
|
||||
// alert("You called me");
|
||||
this.router.navigateByUrl("member");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user