Explorar el Código

Cannot read properties of undefined (reading 'els')

luoyifan hace 3 años
padre
commit
bfe339c061
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)