{ provide: ActivatedRoute, useValue: { params: Observable.of({id: 1}) } } ... paramMap 應該是 ParamMap from @angular/router 型別,因此可以使用 ...
確定! 回上一頁