diff --git a/src/components/CaseManage/CommonRecommend.vue b/src/components/CaseManage/CommonRecommend.vue index 495b5612..e61e9c5c 100644 --- a/src/components/CaseManage/CommonRecommend.vue +++ b/src/components/CaseManage/CommonRecommend.vue @@ -776,10 +776,10 @@ function handleStageOk() { deptIds: deptList.value?.map((e) => e.id), }).then(response => { console.log(response); - if (!response.ok) { + if (!response) { throw new Error("Failed to load response data"); } - return response.json(); + return response; }).then(() => { message.success("推荐成功"); emit("finash", true);