react-antd-admin
react-antd-admin copied to clipboard
this.fieldMap.get(key).$$optionMap 增加undefined检查
报错信息:
Uncaught (in promise) TypeError: Cannot read property '$$optionMap' of undefined
at t.value (0.bundle.min.js:formatted:21485)
at 0.bundle.min.js:formatted:21473
at Array.forEach (
定位问题:
innerTable.js Line 154 if(this.fieldMap.get(key).$$optionMap) 需要增加undefined检查,如: if (this.fieldMap.get(key) && this.fieldMap.get(key).$$optionMap)