Преглед изворни кода

Cannot read properties of undefined (reading 'els')

luoyifan пре 3 година
родитељ
комит
bfe339c061
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/controls/grid.js

+ 3 - 1
src/controls/grid.js

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