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