浏览代码

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)