自定义表单 功能优化

yun-zuoyi
wei.peng 6 years ago
parent d1f4f6b25b
commit 2adff745fb

@ -55,7 +55,7 @@ public class BlockFormEnumUtil {
public static int codeOfValue(String code) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code.toLowerCase())) {
if (values()[i].code.toLowerCase().equals(code.toLowerCase())) {
tmp = values()[i].value;
}
}

Loading…
Cancel
Save