diff --git a/src/main/java/neatlogic/framework/form/dto/FormAttributeVo.java b/src/main/java/neatlogic/framework/form/dto/FormAttributeVo.java index a6be7a28af684481dd94eb360ea746c632000915..1f8ef93725c09a5e2c90a7ca452fccf1a1df5e7a 100644 --- a/src/main/java/neatlogic/framework/form/dto/FormAttributeVo.java +++ b/src/main/java/neatlogic/framework/form/dto/FormAttributeVo.java @@ -27,7 +27,10 @@ import neatlogic.framework.restful.annotation.EntityField; import org.apache.commons.collections4.CollectionUtils; import java.io.Serializable; -import java.util.*; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Set; public class FormAttributeVo implements Serializable { private static final long serialVersionUID = 8282018124626035430L; @@ -166,6 +169,9 @@ public class FormAttributeVo implements Serializable { if (config == null && configStr != null) { config = JSONObject.parseObject(configStr); } + if (config == null) { + config = new JSONObject(); + } return config; }