diff --git a/src/app/ui/eharts-statistics/eharts-statistics.component.ts b/src/app/ui/eharts-statistics/eharts-statistics.component.ts index 44be368..f740a2b 100644 --- a/src/app/ui/eharts-statistics/eharts-statistics.component.ts +++ b/src/app/ui/eharts-statistics/eharts-statistics.component.ts @@ -199,7 +199,7 @@ export class EhartsStatisticsComponent implements OnInit { //柱状图点击事件 chartHynyxf.on('click', function(e) { - that.router.navigate([`/home/learningrecorddetails?Catalog=${catalogs[e.dataIndex]}&id=${that.idCard}`]) + that.router.navigate(['/home/learningrecorddetails'],{queryParams:{'Catalog':catalogs[e.dataIndex],'id':that.idCard}}); }); }