From d7009f46f8adae5680a254614e8f404d8ba58cff Mon Sep 17 00:00:00 2001 From: ulleo Date: Thu, 23 Nov 2023 15:30:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=8E=E7=BB=86=E8=A1=A8=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=B7=BB=E5=8A=A0=E6=8C=87=E6=A0=87=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/views/chart/view/ChartEdit.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index a6d33e7051..3ea3839883 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -3207,13 +3207,10 @@ export default { } }, addXaxis(e) { - if (this.view.type !== 'table-info' && (this.view.type !== 'scatter' && this.view.render !== 'antv')) { - this.dragCheckType(this.view.xaxis, 'd') - } this.dragMoveDuplicate(this.view.xaxis, e) if (this.view.type === 'scatter' && this.view.render === 'antv' && this.view.xaxis[0] && this.view.xaxis[0].groupType === 'q') { this.view.xaxis = [this.view.xaxis[0]] - } else { + } else if (this.view.type !== 'table-info') { this.dragCheckType(this.view.xaxis, 'd') } if ((this.view.type === 'map' || this.view.type === 'word-cloud' || this.view.type === 'label') && this.view.xaxis.length > 1) {