From 004be069f9bf0cc52b0a4d9aa0a562cb3f15209c Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 22 Nov 2022 17:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E7=B1=BB=E5=B1=95=E7=A4=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/service/components/pushModal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/service/components/pushModal.jsx b/web/client/src/sections/service/components/pushModal.jsx index 78cdbfe..1c4ebc8 100644 --- a/web/client/src/sections/service/components/pushModal.jsx +++ b/web/client/src/sections/service/components/pushModal.jsx @@ -384,7 +384,7 @@ function pushModal (props) { key={u.name + u.index} field={u.value} style={{ width: 695 }} - initValue={(editObj?.id && (editObj?.alarmSubType && editObj?.alarmSubType[u.value]) || u.data.map(v => v.id)) || []} + initValue={(editObj?.id && (editObj?.alarmSubType ? editObj?.alarmSubType[u.value] : u.data.map(v => v.id))) || []} direction='horizontal' showClear >