feat:所有列表添加调整列宽功能

This commit is contained in:
wangwenrui
2020-11-04 15:38:34 +08:00
parent 82367d6df2
commit 7ab9ed81f7
17 changed files with 21 additions and 35 deletions

View File

@@ -54,15 +54,13 @@
align="center">
</el-table-column>
<el-table-column
:resizable="false"
:resizable="true"
v-for="(item, index) in tools.customTableTitle"
v-if="item.show"
:width="item.width"
:key="`col_${index}`"
:label="item.label"
:fixed="item.fixed"
:show-overflow-tooltip="item.prop != 'Alert' || item.prop != 'Module'"
min-width="110px"
:class-name="item.prop == 'option' ? 'content-right-options' : ''"
:sortable="$tableSet.sortableShow(item.prop,'asset')"
:prop="$tableSet.propTitle(item.prop,'asset')"