From 24e8c300f5fbd1f55de63d40d8d6ab7049ce1d9b Mon Sep 17 00:00:00 2001 From: junjun Date: Wed, 27 Jul 2022 10:47:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=AD=97=E6=AE=B5=E4=B8=8B=E9=92=BB=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 0ad3a94395..4ec1aa87f4 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -635,6 +635,12 @@ {{ $t('chart.drill') }} / {{ $t('chart.dimension') }} + +
+ 钻取字段仅支持数据集中的字段 +
+ +
0) { + if (dup[0].chartId) { + list.splice(e.newDraggableIndex, 1) + } + } + }, addXaxis(e) { if (this.view.type !== 'table-info') { this.dragCheckType(this.view.xaxis, 'd') @@ -2333,6 +2350,7 @@ export default { addDrill(e) { this.dragCheckType(this.view.drillFields, 'd') this.dragMoveDuplicate(this.view.drillFields, e) + this.dragRemoveChartField(this.view.drillFields, e) this.calcData(true) },