更新ag-grid到最新版本4.2.6后,我收到以下错误。
"TypeError: Cannot read property 'forEach' of null
at e.recursivelyFilter (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:477:792)
at e.execute (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:477:693)
at e.doFilter (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:501:5814)
at e.refreshModel (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:501:2078)
at localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:26:1476
at Array.forEach (native)
at e.dispatchEvent (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:26:1456)
at e.setColumnDefs (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:80:21082)
at e.init (localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:80:6383)
at http://localhost:3000/node_modules/ag-grid/dist/ag-grid.min.js:38:3022"
直到ag-grid 4.2.5它工作正常。有人知道原因吗?