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) {