From 7e5c6d14e423a0452d346be199487308969b8bef Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 16 Sep 2024 19:34:21 +0800
Subject: [PATCH] 网格登录改为url传入token
---
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