An ECharts icon is used in a project. Click on different legends to jump to different pages
where the pie chart code is as follows:
if(params.componentSubType === "bar"){
isKey = self.option.series[params.seriesIndex].clickName[params.dataIndex];
}
Jump query
query: $.extend({},{dateTime:params.componentSubType=="bar"?self.option.series[params.seriesIndex].params.timeRange:dateTime,
source:sourceIs,
oneName:richangquery.oneName,
"key":(params.componentSubType=="pie"||params.componentSubType=="bar"||params.componentSubType=="line")?isKey:sourceIs,
"irKeyword":irKeyword,
whichListShow: whichListShow,
sourceDis:false,
isForum:sourceIs==""?true:false},
self.clickQuery)
what is the return value of self.option.series [params.seriesIndex] .clickName [params.dataIndex] here?
Why can key be passed by clicking on other sources, but key will be lost when you click on the first data source in the array?