diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 4567f8b0aa..f005563819 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -247,30 +247,6 @@ /> - - - {{ $t('chart.drill') }} - / - {{ $t('chart.dimension') }} - - - - - - -
- {{ $t('chart.placeholder_field') }} -
-
{{ $t('chart.drag_block_table_data_column') }} @@ -404,6 +380,30 @@ {{ $t('chart.placeholder_field') }} + + + {{ $t('chart.drill') }} + / + {{ $t('chart.dimension') }} + + + + + + +
+ {{ $t('chart.placeholder_field') }} +
+
@@ -879,6 +879,13 @@ export default { if (view.type === 'treemap' && trigger === 'chart') { view.customAttr.label.show = true } + if (view.type === 'treemap' || + view.type.includes('table') || + view.type.includes('text') || + view.type.includes('gauge') || + view.type.includes('radar')) { + view.drillFields = [] + } view.customFilter.forEach(function(ele) { if (ele && !ele.filter) { ele.filter = [] @@ -1498,7 +1505,6 @@ export default { }, chartClick(param) { - console.log(param) this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList }) this.getData(this.param.id) },