提交 b8b3afb2 authored 作者: 钟是志's avatar 钟是志

JSON调试

上级 b0ed50d0
...@@ -71,7 +71,7 @@ const funcHandleFileds = (source, obj, fieldsColumns) => { ...@@ -71,7 +71,7 @@ const funcHandleFileds = (source, obj, fieldsColumns) => {
if (content.comName === 'PartForm') { if (content.comName === 'PartForm') {
const { childFormKey, columnIds } = content; const { childFormKey, columnIds } = content;
if (childFormKey) { if (childFormKey) {
let thisSource = obj[childFormKey].items; let thisSource = obj[childFormKey] && obj[childFormKey].items || [];
let thisFields = funcHandleFileds(thisSource, obj, fieldsColumns); let thisFields = funcHandleFileds(thisSource, obj, fieldsColumns);
for (let i = 0; i < thisFields.length; i++) { for (let i = 0; i < thisFields.length; i++) {
if (typeof thisFields[i].c1 !== 'undefined') { if (typeof thisFields[i].c1 !== 'undefined') {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论