feat(REQ-4196) - 调整表单数据转换的逻辑
This commit is contained in:
parent
52506df1ef
commit
2f3dbddc0d
@ -23,8 +23,6 @@ public class ConversionUtils {
|
||||
} else if (obj instanceof String) {
|
||||
if (StringUtils.pathEquals(obj.toString(), "[]")) {
|
||||
return null;
|
||||
} else if (StringUtils.hasText(obj.toString()) && ((String) obj).startsWith("[") && ((String) obj).endsWith("]")) {
|
||||
return ((String) obj).replace("[", "").replace("]", "");
|
||||
}
|
||||
// 如果输入不是列表类型,返回空列表或进行其他处理
|
||||
return obj;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user