Commit 74009ed7 authored by 张耀's avatar 张耀

fix:

修复编辑时启用状态传错问题
parent 41acabc2
...@@ -125,7 +125,7 @@ const getInfoData = () => { ...@@ -125,7 +125,7 @@ const getInfoData = () => {
inspection_cycle: data.check_period, inspection_cycle: data.check_period,
push_num: data.notify_push_count, push_num: data.notify_push_count,
push_frequency: data.notify_push_frequency, push_frequency: data.notify_push_frequency,
enabled: data.is_enabled ? 1 : 2, enabled: data.is_enabled == 1,
type_com_ref: d.type_com_ref, type_com_ref: d.type_com_ref,
manual_distribution_form: { manual_distribution_form: {
method: data.notify_method, method: data.notify_method,
......
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