Commit a2711571 by 吴佳
parents 21377831 e777c5e3
...@@ -199,7 +199,8 @@ export default { ...@@ -199,7 +199,8 @@ export default {
obj[position].push({ obj[position].push({
idx:index, idx:index,
prop:label, prop:label,
width:width+'px', // width:width+'px',
width:width === 'auto' ? width : width +'px',
pattern, pattern,
render, render,
...rest ...rest
...@@ -218,7 +219,8 @@ export default { ...@@ -218,7 +219,8 @@ export default {
obj[positionArr[0]].push({ obj[positionArr[0]].push({
idx: colPropArr[0], idx: colPropArr[0],
prop: columnName, prop: columnName,
width: colPropArr[3] + 'px', // width: colPropArr[3] + 'px',
width: colPropArr[3] === 'auto' ? colPropArr[3] : colPropArr[3] + 'px',
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment