Commit 09e74c0c5880f415c1997c7872402d3bd738ec07
1 parent
38d20b72
fix: DEFECT-1256 修复任务中心新增任务间隔时间验证不通过
Showing
2 changed files
with
1 additions
and
2 deletions
... | ... | @@ -148,7 +148,7 @@ export const parseData = (result: TaskRecordType): Required<FormValueType> => { |
148 | 148 | period, |
149 | 149 | periodType: executeTimeType === ExecuteTimeTypeEnum.CUSTOM ? periodType : null, |
150 | 150 | time: executeTimeType === ExecuteTimeTypeEnum.CUSTOM ? time : null, |
151 | - interval: executeTimeType === ExecuteTimeTypeEnum.POLL ? time : null, | |
151 | + interval: executeTimeType === ExecuteTimeTypeEnum.POLL ? Number(time) : null, | |
152 | 152 | pollUnit: executeTimeType === ExecuteTimeTypeEnum.POLL ? pollUnit : TimeUnitEnum.SECOND, |
153 | 153 | }; |
154 | 154 | }; | ... | ... |