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

bug修改

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