diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index ae6d11799b..912fe84097 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -1007,6 +1007,12 @@ export default { sourceInfo = param.viewId + '#' + dimension.id jumpInfo = this.nowPanelJumpInfo[sourceInfo] } + // 没有主维度,子维度相等 + if (!jumpInfo && dimensionItem.value === param.category) { + dimension = dimensionItem + sourceInfo = param.viewId + '#' + dimension.id + jumpInfo = this.nowPanelJumpInfo[sourceInfo] + } }) } else { for (let i = param.dimensionList.length - 1; i >= 0; i--) { diff --git a/core/frontend/src/views/chart/components/ChartComponentG2.vue b/core/frontend/src/views/chart/components/ChartComponentG2.vue index 1ae307cfba..55cf385ce7 100644 --- a/core/frontend/src/views/chart/components/ChartComponentG2.vue +++ b/core/frontend/src/views/chart/components/ChartComponentG2.vue @@ -355,7 +355,8 @@ export default { } this.linkageActiveParam = { category: this.pointParam.data.category ? this.pointParam.data.category : 'NO_DATA', - name: this.pointParam.data.name ? this.pointParam.data.name : 'NO_DATA' + name: this.pointParam.data.name ? this.pointParam.data.name : 'NO_DATA', + group: this.pointParam.data.group ? this.pointParam.data.group : 'NO_DATA' } if (this.trackMenu.length < 2) { // 只有一个事件直接调用 this.trackClick(this.trackMenu[0]) @@ -392,14 +393,18 @@ export default { name: this.pointParam.data.name, viewId: this.chart.id, dimensionList: this.pointParam.data.dimensionList, - quotaList: quotaList + quotaList: quotaList, + category: this.pointParam.data.category, + group: this.pointParam.data.group } const jumpParam = { option: 'jump', name: this.pointParam.data.name, viewId: this.chart.id, dimensionList: this.pointParam.data.dimensionList, - quotaList: quotaList + quotaList: quotaList, + category: this.pointParam.data.category, + group: this.pointParam.data.group } switch (trackAction) {