我正在使用离子4。它不接受使用navparams接收数据。这是我的发件人页面方法:
//private route:Router
gotoFinalView(intent) {
this.route.navigateByUrl(`${intent}`, this.destination);
}
Run Code Online (Sandbox Code Playgroud)
收件人页面行;
//private navParams:NavParams
this.destination = navParams.data;
Run Code Online (Sandbox Code Playgroud)
在ionic 4中执行此操作的正确方法是什么。我也不确定gotoFinalView方法是否有效。