diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 1b1a648..a16c2f9 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -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"); + } }