From 200b3f9e47195b19484a9e8530079ee8e2c9aa5f Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sun, 15 Sep 2024 22:37:54 +0800 Subject: [PATCH] fix: 配合部门 --- gz-customerSystem/src/components/ProgressStep/VisitStep.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/components/ProgressStep/VisitStep.jsx b/gz-customerSystem/src/components/ProgressStep/VisitStep.jsx index 4962ddd..be73cf0 100644 --- a/gz-customerSystem/src/components/ProgressStep/VisitStep.jsx +++ b/gz-customerSystem/src/components/ProgressStep/VisitStep.jsx @@ -80,8 +80,8 @@ if(item.value == 'handleCaseFlowList') { setProgressList(progressData.handleCaseFlowList) } else { - const findData = progressData.assistCaseFlowList.find(res => res.unitId == assistType) - setProgressList(findData.caseFlowList) + const findData = progressData.assistCaseFlowList?.find(res => res.unitId == assistType) || {} + setProgressList(findData.caseFlowList || []) } }} style={{ marginRight: (index + 1) !== btnList.length ? '20px' : '0' }} -- Gitblit v1.8.0