Ver Fonte

Cannot read properties of undefined (reading 'els')

luoyifan há 3 anos atrás
pai
commit
bfe339c061
1 ficheiros alterados com 3 adições e 1 exclusões
  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)