-- fix bug

This commit is contained in:
yuping
2023-02-05 20:17:10 +08:00
parent 28a2552c09
commit bfa86af215
2 changed files with 3 additions and 1 deletions

View File

@@ -322,7 +322,8 @@ const submitVote = () => {
"courseId": courseId, "courseId": courseId,
"studentId": userInfo.value.id, "studentId": userInfo.value.id,
"targetId": infoId, "targetId": infoId,
"type": btype "type": btype,
taskId: id
}).then(res=>{ }).then(res=>{
console.log(res) console.log(res)
ElMessage.success("投票成功") ElMessage.success("投票成功")

View File

@@ -559,6 +559,7 @@ function toFinish(d, sName, chapterOrStageId) {
logo: PROJECT, logo: PROJECT,
stageOrChapterId: chapterOrStageId, stageOrChapterId: chapterOrStageId,
taskId: d.projectTaskId, taskId: d.projectTaskId,
taskType: d.type,
}); });
// 此处判断外链跳转详情界面 // 此处判断外链跳转详情界面
if(d.type==7){ if(d.type==7){