Commit 2508951b authored by 张耀's avatar 张耀

feat:

修改持续时间传参类型
parent 74009ed7
......@@ -15,7 +15,7 @@ const setParams = (res, { id, class_id }) => {
is_linked: e.is_linkage == 1,
};
}) || [],
duration: res.time,
duration: +res.time,
duration_unit: res.unit,
check_period: res.inspection_cycle,
is_enabled: res.state,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment