refactor: 计算字段变更后的自动更新

This commit is contained in:
junjun
2025-01-13 18:12:26 +08:00
committed by Junjun
parent 5d9ee9bee2
commit df142c5157

View File

@@ -67,9 +67,6 @@ public class Utils {
DEException.throwException(Translator.get("i18n_field_circular_error"));
}
String originField = getCalcField(chartField, originFields);
if (originField == null) {
DEException.throwException(Translator.get("i18n_field_circular_error"));
}
originField = originField.replaceAll("[\\t\\n\\r]]", "");
// 正则提取[xxx]
String regex = "\\[(.*?)]";
@@ -120,7 +117,7 @@ public class Utils {
return field.getOriginName();
}
}
return null;
return "";
}
public static String getLogic(String logic) {