From 74009ed7789bc8e24e3ea7e22ef769c4a616f31a Mon Sep 17 00:00:00 2001 From: zhangyao Date: Fri, 21 Jul 2023 16:39:41 +0800 Subject: [PATCH] fix: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复编辑时启用状态传错问题 --- src/page/main/forewarning/rule-set/edit/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/page/main/forewarning/rule-set/edit/index.vue b/src/page/main/forewarning/rule-set/edit/index.vue index 6c01896..0f134bf 100644 --- a/src/page/main/forewarning/rule-set/edit/index.vue +++ b/src/page/main/forewarning/rule-set/edit/index.vue @@ -125,7 +125,7 @@ const getInfoData = () => { inspection_cycle: data.check_period, push_num: data.notify_push_count, push_frequency: data.notify_push_frequency, - enabled: data.is_enabled ? 1 : 2, + enabled: data.is_enabled == 1, type_com_ref: d.type_com_ref, manual_distribution_form: { method: data.notify_method, -- 2.26.0