|
@@ -1,15 +1,18 @@
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
+import { NavController } from '@ionic/angular';
|
|
|
|
|
|
@Component({
|
|
|
selector: 'app-person',
|
|
|
templateUrl: './person.page.html',
|
|
|
styleUrls: ['./person.page.scss'],
|
|
|
})
|
|
|
-export class PersonPage implements OnInit {
|
|
|
+export class PersonPage {
|
|
|
|
|
|
- constructor() { }
|
|
|
+ constructor(private navCtrl: NavController) {}
|
|
|
|
|
|
- ngOnInit() {
|
|
|
+ goToBlankPage() {
|
|
|
+ // 导航到空白页面
|
|
|
+ console.log('Navigating to Blank page');
|
|
|
}
|
|
|
|
|
|
}
|