feat:框架完善,增加完整的支持

This commit is contained in:
wangyu 2021-09-29 10:37:20 +08:00
parent 66e19e81f7
commit 6f5c0a17dd
1 changed files with 3 additions and 0 deletions

View File

@ -408,6 +408,9 @@ public class BeanProperty {
// 处理值生成策略此处可清除原策略
if (ArrayUtils.isNotEmpty(prop.generated())) {
property.extra.put(BeanProps.GENERATED, MergedAnnotations.from(prop.mapping()).get(MappedTo.class).asMap());
if (StringUtils.isBlank((String)property.extra.get(BeanProps.COMPONENT))) {
property.extra.put(BeanProps.COMPONENT, "input-hidden");
}
} else {
property.extra.remove(BeanProps.GENERATED);
if ("input-hidden".equals(property.extra.get(BeanProps.COMPONENT))) {