feat:框架完善,增加完整的支持
This commit is contained in:
parent
66e19e81f7
commit
6f5c0a17dd
@ -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))) {
|
||||
|
Loading…
Reference in New Issue
Block a user