mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
Merge branch 'zcwy-zsx' into dev_master
This commit is contained in:
@@ -301,6 +301,11 @@ const { data } = useRequest(
|
||||
chapterOrStageId,
|
||||
targetId: infoId ? infoId : 0,
|
||||
},(res)=>{
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/NotProject2",
|
||||
});
|
||||
}
|
||||
if(res.data.projectInfoList.length == 0){
|
||||
res.data.projectInfoList=[
|
||||
{teacherName: '', courseName: '', projectName: ''}
|
||||
@@ -309,11 +314,7 @@ const { data } = useRequest(
|
||||
}else{
|
||||
res.data.falseS = true
|
||||
}
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/NotProject2",
|
||||
});
|
||||
} },
|
||||
},
|
||||
(e) => {
|
||||
useRequest(
|
||||
checkStudentExist,
|
||||
@@ -426,7 +427,7 @@ onMounted(() => {
|
||||
result: JSON.stringify(data.value),
|
||||
beginTime: answerTime,
|
||||
})
|
||||
if (res.data.isSubmit) {
|
||||
if (res.code == 200 && res.data.isSubmit) {
|
||||
open();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user