feat:验证框架进一步完善,支持前后端同步动态验证
This commit is contained in:
parent
9d96a4af23
commit
818f2e36ac
@ -360,6 +360,9 @@ public class BeanProperty {
|
||||
if (StringUtils.isNotBlank(item.component())) {
|
||||
property.extra.put(BeanProps.COMPONENT, item.component());
|
||||
}
|
||||
if (StringUtils.isNotBlank(item.help())) {
|
||||
property.extra.put(BeanProps.HELP, item.help());
|
||||
}
|
||||
property.layout = item.layout();
|
||||
if (ArrayUtils.isNotEmpty(item.props())) {
|
||||
for (FormItem.Prop prop : item.props()) {
|
||||
|
@ -20,6 +20,8 @@ public interface BeanProps {
|
||||
|
||||
String COMPONENT = "component";
|
||||
|
||||
String HELP = "help";
|
||||
|
||||
String GENERATED = "generated";
|
||||
|
||||
String MAPPING = "mapping";
|
||||
|
Loading…
Reference in New Issue
Block a user