Merge pull request #7844 from dataease/pr@dev@fix_plugin_view

fix(插件视图): 移除hutool库导致插件视图无法加载
This commit is contained in:
fit2cloud-chenyw 2024-01-25 18:37:59 +08:00 committed by GitHub
commit ca6088df54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}