标签: javascript angular angular2-routing
在我的Angular 2应用中,我想使用this.router.navigate(['/todo']);
this.router.navigate(['/todo']);
它有效,但Angular在URL之后添加了一个问号(如:http://localhost:4200/todo?),这使得浏览器重新加载页面。但是,我不希望浏览器刷新页面。
http://localhost:4200/todo?
如何解决此问题?