From 3ae864f005e8a874de01c15e14b83196a3f6f11b Mon Sep 17 00:00:00 2001 From: xusd <hugeinfo123> Date: Wed, 18 Sep 2024 10:21:30 +0800 Subject: [PATCH] 新增一个测试环境 --- 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