feat: 给表格添加最小宽 优化宽度显示

This commit is contained in:
zhangyu
2020-11-12 10:11:18 +08:00
parent 0089029a5e
commit 36be347b17
3 changed files with 8 additions and 4 deletions

View File

@@ -90,7 +90,7 @@
v-if="item.show"
:key="`col-${index}`"
:label="item.label"
:min-width="item.width"
:min-width="item.width || item.minWidth"
:sortable="$tableSet.sortableShow(item.prop,'project')"
:prop="$tableSet.propTitle(item.prop,'project')"
:sort-orders="['ascending', 'descending']"
@@ -284,6 +284,7 @@
label:this.$t("project.endpoint.asset"),
prop:'asset',
show:true,
minWidth:400,
},{
label:this.$t("project.endpoint.host"),
prop:'host',