|
|
@@ -115,14 +115,14 @@ const calculativeWidth = () => {
|
|
|
.map((item) => props.realValue?.(item) || item[props.prop])
|
|
|
.filter(Boolean)
|
|
|
|
|
|
- let labelWidth = getTextWidth(bindProps.value.label || '') + 30
|
|
|
+ let labelWidth = getTextWidth(bindProps.value.label || '') + 32
|
|
|
|
|
|
if (props.zmFilterable || props.zmSortable) labelWidth += 8
|
|
|
- if (props.zmFilterable) labelWidth += 20
|
|
|
- if (props.zmSortable) labelWidth += 20
|
|
|
+ if (props.zmFilterable) labelWidth += 22
|
|
|
+ if (props.zmSortable) labelWidth += 22
|
|
|
|
|
|
const maxWidth = Math.min(
|
|
|
- Math.max(...values.map((value) => getTextWidth(value) + 30), labelWidth),
|
|
|
+ Math.max(...values.map((value) => getTextWidth(value) + 38), labelWidth),
|
|
|
360
|
|
|
)
|
|
|
|