diff --git a/src/views/investigat/InvestigatPage.vue b/src/views/investigat/InvestigatPage.vue index 3522613..2bc336f 100644 --- a/src/views/investigat/InvestigatPage.vue +++ b/src/views/investigat/InvestigatPage.vue @@ -301,7 +301,7 @@ const { data } = useRequest( chapterOrStageId, targetId: infoId ? infoId : 0, },(res)=>{ - if (res.code === 6 || res.data.code === 6) { + if (res.code === 6) { router.push({ path: "/NotProject2", }); @@ -427,7 +427,7 @@ onMounted(() => { result: JSON.stringify(data.value), beginTime: answerTime, }) - if (res.data.isSubmit) { + if (res.code == 200 && res.data.isSubmit) { open(); } })