fix: 恢复表格列宽设置项

This commit is contained in:
junjun 2022-06-10 17:22:33 +08:00
parent 7a1c665bb2
commit 71cced80f9
2 changed files with 5 additions and 4 deletions

View File

@ -1203,7 +1203,7 @@ export const TYPE_CONFIGS = [
'tableItemFontSize', 'tableItemFontSize',
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnMode' 'tableColumnWidth'
], ],
'title-selector': [ 'title-selector': [
'show', 'show',
@ -1241,7 +1241,7 @@ export const TYPE_CONFIGS = [
'tableItemFontSize', 'tableItemFontSize',
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnMode' 'tableColumnWidth'
], ],
'title-selector': [ 'title-selector': [
'show', 'show',

View File

@ -258,8 +258,9 @@
</el-tooltip> </el-tooltip>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('tableColumnWidth') && sizeForm.tableColumnMode === 'custom'" v-show="showProperty('tableColumnMode') && sizeForm.tableColumnMode === 'custom'"
label="" label=""
label-width="100px"
class="form-item form-item-slider" class="form-item form-item-slider"
> >
<el-slider <el-slider
@ -269,7 +270,7 @@
show-input show-input
:show-input-controls="false" :show-input-controls="false"
input-size="mini" input-size="mini"
@change="changeBarSizeCase('tableColumnWidth')" @change="changeBarSizeCase('tableColumnMode')"
/> />
</el-form-item> </el-form-item>
<!--table-end--> <!--table-end-->