Kaynağa Gözat

syncRowHeight: false 解决 els-bug

luoyifan 3 yıl önce
ebeveyn
işleme
102885919b
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  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)