diff --git a/core/frontend/src/views/chart/chart/util.js b/core/frontend/src/views/chart/chart/util.js index bc7b285db8..fdacc429a7 100644 --- a/core/frontend/src/views/chart/chart/util.js +++ b/core/frontend/src/views/chart/chart/util.js @@ -297,7 +297,7 @@ export const TYPE_CONFIGS = [ 'gaugeStartAngle', 'gaugeEndAngle', 'gaugeTickCount', - 'gaugeAxisLabel' + 'gaugeAxisLine' ], 'label-selector-ant-v': [ 'labelGauge' @@ -2160,7 +2160,7 @@ export const TYPE_CONFIGS = [ 'gaugeMax', 'gaugeStartAngle', 'gaugeEndAngle', - 'gaugeAxisLabel' + 'gaugeAxisLine' ], 'label-selector': [ 'show', diff --git a/core/frontend/src/views/chart/components/shapeAttr/SizeSelector.vue b/core/frontend/src/views/chart/components/shapeAttr/SizeSelector.vue index eb83468cec..17c0f1f74d 100644 --- a/core/frontend/src/views/chart/components/shapeAttr/SizeSelector.vue +++ b/core/frontend/src/views/chart/components/shapeAttr/SizeSelector.vue @@ -477,13 +477,13 @@ /> diff --git a/core/frontend/src/views/chart/components/shapeAttr/SizeSelectorAntV.vue b/core/frontend/src/views/chart/components/shapeAttr/SizeSelectorAntV.vue index 43eafffbe9..96a544de6f 100644 --- a/core/frontend/src/views/chart/components/shapeAttr/SizeSelectorAntV.vue +++ b/core/frontend/src/views/chart/components/shapeAttr/SizeSelectorAntV.vue @@ -522,150 +522,151 @@ label-width="100px" size="mini" > - - + - {{ $t('chart.fix') }} - {{ $t('chart.dynamic') }} - - - - - - - - + {{ $t('chart.fix') }} + {{ $t('chart.dynamic') }} + + + + + + + + - {{ item.name }} - - - - - - - - - - - - - + {{ item.name }} + + + + + + + + + + + + + - - - {{ $t('chart.fix') }} - {{ $t('chart.dynamic') }} - - - - - - + {{ $t('chart.fix') }} + {{ $t('chart.dynamic') }} + + + + + + @@ -759,6 +760,7 @@ /> + @@ -1369,7 +1371,7 @@ import { CHART_FONT_FAMILY, CHART_FONT_LETTER_SPACE, DEFAULT_SIZE } from '../../chart/chart' import { equalsAny } from '@/utils/StringUtils' +import { mapState } from 'vuex' export default { name: 'SizeSelectorAntV', @@ -1490,7 +1496,8 @@ export default { return customAttr.color.mapLineGradient && equalsAny(this.sizeForm.mapLineType, 'line', 'arc') } return false - } + }, + ...mapState(['batchOptStatus']) }, watch: { 'chart': { @@ -1750,6 +1757,10 @@ export default { line-height: 38px; } + .form-item-range-slider ::v-deep .el-form-item__content { + padding-right: 6px + } + .form-item ::v-deep .el-form-item__label { font-size: 12px; }