Merge pull request #7489 from dataease/pr@dev@fix_jump
fix: 修复多维度柱状图跳转未找到跳转目标问题
This commit is contained in:
commit
0669a425f7
@ -1109,7 +1109,8 @@ export default {
|
|||||||
jumpInfo = this.nowPanelJumpInfo[sourceInfo]
|
jumpInfo = this.nowPanelJumpInfo[sourceInfo]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
}
|
||||||
|
if (!jumpInfo) {
|
||||||
for (let i = param.dimensionList.length - 1; i >= 0; i--) {
|
for (let i = param.dimensionList.length - 1; i >= 0; i--) {
|
||||||
dimension = param.dimensionList[i]
|
dimension = param.dimensionList[i]
|
||||||
sourceInfo = param.viewId + '#' + dimension.id
|
sourceInfo = param.viewId + '#' + dimension.id
|
||||||
|
|||||||
@ -548,7 +548,8 @@ export default {
|
|||||||
name: this.pointParam.data.name,
|
name: this.pointParam.data.name,
|
||||||
viewId: this.chart.id,
|
viewId: this.chart.id,
|
||||||
dimensionList: this.pointParam.data.dimensionList,
|
dimensionList: this.pointParam.data.dimensionList,
|
||||||
quotaList: quotaList
|
quotaList: quotaList,
|
||||||
|
names: this.pointParam.data.name.split('\n')
|
||||||
}
|
}
|
||||||
jumpParam.quotaList[0]['value'] = this.pointParam.data.value
|
jumpParam.quotaList[0]['value'] = this.pointParam.data.value
|
||||||
switch (trackAction) {
|
switch (trackAction) {
|
||||||
|
|||||||
@ -403,7 +403,8 @@ export default {
|
|||||||
dimensionList: this.pointParam.data.dimensionList,
|
dimensionList: this.pointParam.data.dimensionList,
|
||||||
quotaList: quotaList,
|
quotaList: quotaList,
|
||||||
category: this.pointParam.data.category,
|
category: this.pointParam.data.category,
|
||||||
group: this.pointParam.data.group
|
group: this.pointParam.data.group,
|
||||||
|
names: this.pointParam.data.name.split('\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.chart.type === 'scatter' && this.chart.render === 'antv') {
|
if (this.chart.type === 'scatter' && this.chart.render === 'antv') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user