Skip to content

Commit

Permalink
[Feature]: 字段分组支持配置默认折叠
Browse files Browse the repository at this point in the history
  • Loading branch information
tujiajun committed Feb 19, 2024
1 parent 81e9335 commit 38a5230
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ const getSection = async (formFields, permissionFields, fieldSchemaArray, sectio
section.visibleOn = groupVisibleOn;
}
}

let groupCollapsed = group && group.collapsed;
if(groupCollapsed === true) {
section.collapsed = true;
}
return section
}

Expand Down

0 comments on commit 38a5230

Please sign in to comment.