diff --git a/frontend/src/views/chart/components/shape_attr/SizeSelector.vue b/frontend/src/views/chart/components/shape_attr/SizeSelector.vue index 6db1e32b7a..09686d3491 100644 --- a/frontend/src/views/chart/components/shape_attr/SizeSelector.vue +++ b/frontend/src/views/chart/components/shape_attr/SizeSelector.vue @@ -25,8 +25,8 @@ - {{ $t('chart.line_type_solid') }} - {{ $t('chart.line_type_dashed') }} + {{ $t('chart.line_type_solid') }} + {{ $t('chart.line_type_dashed') }} diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 897dba7204..2ee1994e07 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -59,7 +59,7 @@
{{ $t('chart.title') }} - + {{ $t('chart.confirm') }} @@ -69,7 +69,6 @@ :placeholder="$t('chart.title')" prefix-icon="el-icon-search" clearable - @blur="save" /> @@ -371,10 +370,10 @@ export default { const yItems = this.quota.filter(function(m) { return m.id === that.moveId }) - if (xItems && xItems.length > 0) { + if (xItems && xItems.length > 1) { this.dimension.splice(e.newDraggableIndex, 1) } - if (yItems && yItems.length > 0) { + if (yItems && yItems.length > 1) { this.quota.splice(e.newDraggableIndex, 1) } },