Selaa lähdekoodia

syncRowHeight: false 解决 els-bug

luoyifan 3 vuotta sitten
vanhempi
commit
102885919b
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      src/controls/grid.js

+ 3 - 2
src/controls/grid.js

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