Merge pull request #7489 from dataease/pr@dev@fix_jump

fix: 修复多维度柱状图跳转未找到跳转目标问题
This commit is contained in:
王嘉豪 2024-01-02 13:12:55 +08:00 committed by GitHub
commit 0669a425f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -1109,7 +1109,8 @@ export default {
jumpInfo = this.nowPanelJumpInfo[sourceInfo]
}
})
} else {
}
if (!jumpInfo) {
for (let i = param.dimensionList.length - 1; i >= 0; i--) {
dimension = param.dimensionList[i]
sourceInfo = param.viewId + '#' + dimension.id

View File

@ -548,7 +548,8 @@ export default {
name: this.pointParam.data.name,
viewId: this.chart.id,
dimensionList: this.pointParam.data.dimensionList,
quotaList: quotaList
quotaList: quotaList,
names: this.pointParam.data.name.split('\n')
}
jumpParam.quotaList[0]['value'] = this.pointParam.data.value
switch (trackAction) {

View File

@ -403,7 +403,8 @@ export default {
dimensionList: this.pointParam.data.dimensionList,
quotaList: quotaList,
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') {