feat(REQ-4624) - 兼容一些表单默认内容的处理
This commit is contained in:
parent
86f7f2ba0b
commit
7c5c21fbbd
@ -323,6 +323,7 @@ public class CustomGetFormInstanceModelCmd extends GetFormInstanceModelCmd {
|
||||
}
|
||||
} else if (FormFieldTypes.UPLOAD.equals(sf.getType())
|
||||
|| FORM_FIELD_TYPE_IMAGE.equals(sf.getType())) {
|
||||
if (StringUtils.hasText(String.valueOf(rows.get(0).get(sf.getId())))) {
|
||||
if (rows.get(0).containsKey(sf.getId())) {
|
||||
|
||||
try {
|
||||
@ -339,6 +340,7 @@ public class CustomGetFormInstanceModelCmd extends GetFormInstanceModelCmd {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
// 根据传入的表单自定义组件数据,构建表单模型,Field 是二维数组,一维用于行,二维用于列
|
||||
|
||||
Loading…
Reference in New Issue
Block a user