From 3ed6be51ccb0e00b21f513991aac91ac96e4f7cb Mon Sep 17 00:00:00 2001 From: zhangsir Date: Fri, 23 Aug 2024 11:13:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E9=A1=B9=E7=9B=AE=E5=A4=96?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=89=AB=E7=A0=81=E6=8A=A5=E9=94=99=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/investigat/InvestigatPage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } })