From 29703f950b44e63eb935bc34b31c76b2ac6e5a10 Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 23 Nov 2023 18:01:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AntV=E7=BB=84=E5=90=88=E5=9B=BE=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BF=9B=E8=A1=8C=E8=81=94=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/antv/chartmix/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/extensions/dataease-extensions-view/view-chartmix/view-chartmix-frontend/src/views/antv/chartmix/index.vue b/extensions/dataease-extensions-view/view-chartmix/view-chartmix-frontend/src/views/antv/chartmix/index.vue index b116221e84..f058656ee9 100644 --- a/extensions/dataease-extensions-view/view-chartmix/view-chartmix-frontend/src/views/antv/chartmix/index.vue +++ b/extensions/dataease-extensions-view/view-chartmix/view-chartmix-frontend/src/views/antv/chartmix/index.vue @@ -190,8 +190,10 @@ export default { this.myChart = new this.$chartmix(this.chartId, _params) - this.myChart.off('edge:click') - this.myChart.on('edge:click', this.antVAction) + this.myChart.off('point:click') + this.myChart.on('point:click', this.antVAction) + this.myChart.off('interval:click') + this.myChart.on('interval:click', this.antVAction) this.myChart.render(); @@ -342,6 +344,8 @@ export default { options: { data: _.map(t.data, (v) => { return { + quotaList: v.quotaList, + dimensionList: v.dimensionList, key: _.join(_.map(v.dimensionList, (d) => d.value), "\n"), value: v.value, i: _index, @@ -401,6 +405,8 @@ export default { options: { data: _.map(t.data, (v) => { return { + quotaList: v.quotaList, + dimensionList: v.dimensionList, key: _.join(_.map(v.dimensionList, (d) => d.value), "\n"), value: v.value, i: _index,