feat(REQ-3982) - 调整表单 value 的默认响应
This commit is contained in:
parent
a2ba80fbc1
commit
8a9975fd89
@ -32,7 +32,7 @@ public class ConversionUtils {
|
||||
} else if (obj instanceof String) {
|
||||
if (StringUtils.pathEquals(obj.toString(), "[]")) {
|
||||
return null;
|
||||
} else if (StringUtils.hasText(obj.toString())) {
|
||||
} else if (StringUtils.hasText(obj.toString()) && ((String) obj).startsWith("[") && ((String) obj).endsWith("]")) {
|
||||
return ((String) obj).replace("[", "").replace("]", "");
|
||||
}
|
||||
// 如果输入不是列表类型,返回空列表或进行其他处理
|
||||
|
||||
Loading…
Reference in New Issue
Block a user