Pre Merge pull request !313 from 稚屿/master

This commit is contained in:
稚屿 2021-12-06 12:58:57 +00:00 committed by Gitee
commit e78cb81acc
3 changed files with 1 additions and 3 deletions

View File

@ -194,7 +194,6 @@ public class SysJobServiceImpl implements ISysJobService
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public int insertJob(SysJob job) throws SchedulerException, TaskException public int insertJob(SysJob job) throws SchedulerException, TaskException
{ {
job.setStatus(ScheduleConstants.Status.PAUSE.getValue());
int rows = jobMapper.insertJob(job); int rows = jobMapper.insertJob(job);
if (rows > 0) if (rows > 0)
{ {

View File

@ -182,7 +182,6 @@ export default {
"updateCrontabValue", name, value, from; "updateCrontabValue", name, value, from;
this.crontabValueObj[name] = value; this.crontabValueObj[name] = value;
if (from && from !== name) { if (from && from !== name) {
console.log(`来自组件 ${from} 改变了 ${name} ${value}`);
this.changeRadio(name, value); this.changeRadio(name, value);
} }
}, },

View File

@ -346,7 +346,7 @@ export default {
{ required: true, message: "调用目标字符串不能为空", trigger: "blur" } { required: true, message: "调用目标字符串不能为空", trigger: "blur" }
], ],
cronExpression: [ cronExpression: [
{ required: true, message: "cron执行表达式不能为空", trigger: "blur" } { required: true, message: "cron执行表达式不能为空", trigger: "blur, change" }
] ]
} }
}; };