feat:增加更丰富的布局
This commit is contained in:
parent
726a59627f
commit
fc707c6baa
@ -376,7 +376,9 @@ public class BeanProperty {
|
||||
if (StringUtils.isNotBlank(item.help())) {
|
||||
property.extra.put(BeanProps.HELP, item.help());
|
||||
}
|
||||
property.layout = item.layout();
|
||||
if (StringUtils.isNotBlank(item.layout())) {
|
||||
property.layout = item.layout();
|
||||
}
|
||||
if (ArrayUtils.isNotEmpty(item.props())) {
|
||||
for (FormItem.Prop prop : item.props()) {
|
||||
property.prop(prop.key(), prop.value());
|
||||
|
@ -20,6 +20,10 @@ public interface BeanProps {
|
||||
|
||||
String LAYOUT_SINGLE = "single";
|
||||
|
||||
String LAYOUT_HALF_2 = "half2";
|
||||
|
||||
String LAYOUT_FULL_2 = "full2";
|
||||
|
||||
String COMPONENT = "component";
|
||||
|
||||
String HELP = "help";
|
||||
|
Loading…
Reference in New Issue
Block a user