소스 검색

syncRowHeight: false 解决 els-bug

luoyifan 3 년 전
부모
커밋
102885919b
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/controls/grid.js

+ 3 - 2
src/controls/grid.js

@@ -57,9 +57,10 @@ export default function () {
                 }
             }
             const newConfig = _.defaultsDeep({
-                // 强制性属性.
+                // 强制性属性 bug.
                 // lock 属性会造成 Cannot read properties of undefined (reading 'els')
-                enableLocking: false,
+                // enableLocking: false,
+                syncRowHeight: false,
 
             }, baseConfig(config, 'row-item'), config, grid)