|
@@ -58,9 +58,9 @@ function getSizeStyle(index,type) {
|
|
|
rowsHArr = HeightList.split(',').map(_ =>Number(_));
|
|
|
|
|
|
if(type === 'height') {
|
|
|
- return rowsHArr[index]?`height:${rowsHArr[index]}px`:'';
|
|
|
+ return rowsHArr[index]?`height:${rowsHArr[index]}px`:'heigth:auto';
|
|
|
}else {
|
|
|
- return columnsWArr[index]?`width:${columnsWArr[index]}px`:''
|
|
|
+ return columnsWArr[index]?`width:${columnsWArr[index]}px`:'width:auto'
|
|
|
}
|
|
|
|
|
|
}else {
|