Ionic Uncaught (in promise): invalid link

后端 未结 5 874
再見小時候
再見小時候 2021-01-12 01:58

I have probably a problem with this.nav.push in Ionic. I have done a login/registration page but when I login, I get this error message. I have to add some code

5条回答
  •  Happy的楠姐
    2021-01-12 02:26

    Just add @IonicPage() before @component in ts file for example:

    @IonicPage() @Component({ selector: 'page-wall', templateUrl: 'wall.html', })

提交回复
热议问题