Browse Source

Fix lint 2

Marc Fauvel 1 year ago
parent
commit
3da31acf2a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/utils/index.js

+ 2 - 2
src/utils/index.js

@@ -303,8 +303,8 @@ export default {
             const underColumns = allColumns.filter(col => col.fieldIndex === i)
             const underColumns = allColumns.filter(col => col.fieldIndex === i)
             const column = underColumns[underColumns.length - 1]
             const column = underColumns[underColumns.length - 1]
 
 
-            if(underColumns.length > 1){
-              for(let j = 0; j < underColumns.length - 1; j++){
+            if (underColumns.length > 1) {
+              for (let j = 0; j < underColumns.length - 1; j++) {
                 underColumns[j].visible = column.visible
                 underColumns[j].visible = column.visible
               }
               }
             }
             }