mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
fix: froent-ent NPE
This commit is contained in:
parent
91b48c0a5e
commit
5a73e6ad91
@ -187,6 +187,9 @@ public class JobInfoVO {
|
||||
|
||||
if (!StringUtils.isEmpty(jobInfoDO.getLogConfig())) {
|
||||
jobInfoVO.setLogConfig(JSONObject.parseObject(jobInfoDO.getLogConfig(), LogConfig.class));
|
||||
} else {
|
||||
// 不存在 job 配置时防止前端报错
|
||||
jobInfoVO.setLogConfig(new LogConfig());
|
||||
}
|
||||
|
||||
return jobInfoVO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user