fix:上传数据时回复0时也保持请求下一份数据

This commit is contained in:
liyi 2025-06-11 09:18:27 +08:00
parent 0520733080
commit 9d2c953522

View File

@ -798,8 +798,48 @@ class UploadDataLogic extends BaseGetXController {
}
}
} else {
state.indexCount.value = 0;
state.sureBtnState.value = 0;
if (uploadType == 1) {
// 1
// state.indexCount.value = 0;
// state.sureBtnState.value = 0;
// showToast('上传成功'.tr);
} else {
// 2
switch (recordType) {
// case 1:
// //
//
// break;
case 2:
//
getUpdataLockCardList();
break;
case 3:
// IC卡上传成功
getUpdataLockFingerprintList();
break;
case 4:
//
getUpdataLockFaceList();
break;
case 5:
//
getUpdataLockPalmVeinList();
break;
case 6:
//
getUpdataLockRemoteControlList();
break;
case 7:
//
getUpdataLockSet();
break;
default:
break;
}
}
// state.indexCount.value = 0;
// state.sureBtnState.value = 0;
dismissEasyLoading();
}
}