mirror of
https://github.com/dataease/dataease.git
synced 2026-06-11 07:17:01 +08:00
fix(插件视图): 移除hutool库导致插件视图无法加载
This commit is contained in:
@@ -35,6 +35,7 @@ public class ConstantsUtil {
|
||||
}
|
||||
|
||||
public static Object getFieldValue(Class<?> classz, String key) {
|
||||
if (ObjectUtils.isEmpty(ReflectionUtils.findField(classz, key))) return null;
|
||||
return ReflectionUtils.getField(Objects.requireNonNull(ReflectionUtils.findField(classz, key)), null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user