mirror of
https://github.com/dataease/dataease.git
synced 2025-02-23 19:12:55 +08:00
refactor: 计算字段变更后的自动更新
This commit is contained in:
parent
5d9ee9bee2
commit
df142c5157
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user