Merge pull request #3586 from dataease/pr@dev@fix_batch_operation

fix(视图): 修复部分视图属性批量操作无效
This commit is contained in:
dataeaseShu 2022-11-01 17:17:47 +08:00 committed by GitHub
commit 4329f907c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 23 deletions

View File

@ -58,8 +58,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight',
'tableItemHeight',
'tableColumnMode',
'tableShowIndex',
'tableIndexLabel'
'showIndex',
'indexLabel'
],
'title-selector-ant-v': [
'show',
@ -106,8 +106,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight',
'tableItemHeight',
'tableColumnMode',
'tableShowIndex',
'tableIndexLabel'
'showIndex',
'indexLabel'
],
'title-selector-ant-v': [
'show',
@ -1163,8 +1163,8 @@ export const TYPE_CONFIGS = [
'fontSize',
'color',
'position-pie',
'label-content',
'reserve-decimal-count'
'labelContent',
'reserveDecimalCount'
],
'tooltip-selector-ant-v': [
'show',
@ -1223,8 +1223,8 @@ export const TYPE_CONFIGS = [
'fontSize',
'color',
'position-pie',
'label-content',
'reserve-decimal-count'
'labelContent',
'reserveDecimalCount'
],
'tooltip-selector-ant-v': [
'show',
@ -1400,7 +1400,7 @@ export const TYPE_CONFIGS = [
'fontSize',
'color',
'position-v',
'reserve-decimal-count'
'reserveDecimalCount'
],
'tooltip-selector-ant-v': [
'show',
@ -1757,8 +1757,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight',
'tableItemHeight',
'tableColumnWidth',
'tableShowIndex',
'tableIndexLabel'
'showIndex',
'indexLabel'
],
'title-selector': [
'show',
@ -1798,8 +1798,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight',
'tableItemHeight',
'tableColumnWidth',
'tableShowIndex',
'tableIndexLabel'
'showIndex',
'indexLabel'
],
'title-selector': [
'show',

View File

@ -19,7 +19,7 @@
</el-form-item>
<div v-show="labelForm.show">
<el-form-item
v-show="showProperty('label-content')"
v-show="showProperty('labelContent')"
:label="$t('chart.label_content')"
class="form-item"
>
@ -123,7 +123,7 @@
</el-select>
</el-form-item>
<el-form-item
v-show="showProperty('reserve-decimal-count') && (chart.type.includes('percentage') || labelForm.labelContent.includes('proportion'))"
v-show="showProperty('reserveDecimalCount') && (chart.type.includes('percentage') || labelForm.labelContent.includes('proportion'))"
:label="$t('chart.label_reserve_decimal_count')"
class="form-item"
>

View File

@ -370,7 +370,7 @@
/>
</el-form-item>
<el-form-item
v-show="showProperty('tableShowIndex')"
v-show="showProperty('showIndex')"
label-width="100px"
:label="$t('chart.table_show_index')"
class="form-item"
@ -378,14 +378,14 @@
<el-radio-group
v-model="sizeForm.showIndex"
input-size="mini"
@change="changeBarSizeCase('tableShowIndex')"
@change="changeBarSizeCase('showIndex')"
>
<el-radio :label="true">{{ $t('panel.yes') }}</el-radio>
<el-radio :label="false">{{ $t('panel.no') }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-show="showProperty('tableIndexLabel') && sizeForm.showIndex"
v-show="showProperty('indexLabel') && sizeForm.showIndex"
label-width="100px"
:label="$t('chart.table_index_desc')"
class="form-item"
@ -393,7 +393,7 @@
<el-input
v-model="sizeForm.indexLabel"
type="text"
@blur="changeBarSizeCase('tableIndexLabel')"
@blur="changeBarSizeCase('indexLabel')"
/>
</el-form-item>

View File

@ -359,7 +359,7 @@
/>
</el-form-item>
<el-form-item
v-show="showProperty('tableShowIndex')"
v-show="showProperty('showIndex')"
label-width="100px"
:label="$t('chart.table_show_index')"
class="form-item"
@ -367,14 +367,14 @@
<el-radio-group
v-model="sizeForm.showIndex"
input-size="mini"
@change="changeBarSizeCase('tableShowIndex')"
@change="changeBarSizeCase('showIndex')"
>
<el-radio :label="true">{{ $t('panel.yes') }}</el-radio>
<el-radio :label="false">{{ $t('panel.no') }}</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-show="showProperty('tableIndexLabel') && sizeForm.showIndex"
v-show="showProperty('indexLabel') && sizeForm.showIndex"
label-width="100px"
:label="$t('chart.table_index_desc')"
class="form-item"
@ -382,7 +382,7 @@
<el-input
v-model="sizeForm.indexLabel"
type="text"
@blur="changeBarSizeCase('tableIndexLabel')"
@blur="changeBarSizeCase('indexLabel')"
/>
</el-form-item>