多个参数
this.router.navigate(["deposits"],{queryParams:{'currencyId':currencyId}});
跳转到另一个组件接收的时候
this.currencyId = this._activatedRoute.snapshot.queryParams['currencyId'];
单个参数
this.router.navigate(["deposits",currencyId]);会以地址后加的方式传输