shanbinzhang пре 3 недеља
родитељ
комит
cd03bc40d4
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/CustomElement/EtaTable.ce.vue

+ 2 - 2
src/CustomElement/EtaTable.ce.vue

@@ -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 {