Router getCurrentNavigation always returns null

后端 未结 3 1229
南旧
南旧 2020-12-24 11:00

In the latest version of Angular 7.2.6, I\'m trying to pass data in router itself

this.router.navigate([\'other\'], {state: {someData: \'qwert\'}}

3条回答
提交回复
热议问题