浏览代码

Fix lint 2

Marc Fauvel 1 年之前
父节点
当前提交
3da31acf2a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 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
               }
             }