Browse Source

table配置列宽导致flex右侧时候留白问题处理

master
安虹睿 1 year ago
parent
commit
4451f95f4e
  1. 3
      Code/Fe/src/components/umyTable/index.vue

3
Code/Fe/src/components/umyTable/index.vue

@ -66,6 +66,7 @@
<u-table-column v-if="isShowIndex" type="index" fixed="left" label="序号" width="50" />
<template v-for="(item, index) in TableSize">
<u-table-column
min-width="150"
:key="index"
:prop="item.showProp ? item.prop + '.' + item.showProp : item.prop"
:sortable="item.sortable"
@ -690,7 +691,7 @@ export default {
} else if (item.width == '100%') {
item.width = ''
} else {
item.width =item.width ? item.width: "150px";
item.width =item.width ? item.width: "auto";
}
}
return widthSize

Loading…
Cancel
Save