src/pages/tabs/home/home.ts
@@ -1,6 +1,7 @@ import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; @IonicPage({ name: 'home' }) @@ -13,6 +14,10 @@ constructor(public navCtrl: NavController, public navParams: NavParams) { } test() { let fun = "() => console.log('test');"; } ionViewDidLoad() { console.log('ionViewDidLoad HomePage'); } @@ -20,4 +25,9 @@ go() { this.navCtrl.push('access-login'); } gotoInput() { this.navCtrl.push('access-input'); } }