优化U3页面:在确认逻辑中增加对选定ID的存储
This commit is contained in:
@@ -28,6 +28,10 @@ const U3: React.FC = () => {
|
||||
getOptionalItemList(idCardNo)
|
||||
.then((res) => {
|
||||
if (res.Status === 200) {
|
||||
localStorage.setItem(
|
||||
"selectedExamId",
|
||||
res.Data.packageInfo.physical_exam_id.toString() || ""
|
||||
);
|
||||
if (
|
||||
res.Data?.packageInfo?.is_optional_package === 1 &&
|
||||
res.Data.packageInfo.registration_time.length > 0
|
||||
|
||||
Reference in New Issue
Block a user