提交 041279a5 编写于 作者: guangjun.yang's avatar guangjun.yang

没有考试ID或者为0,则算没有考试

上级 9ed52432
...@@ -196,7 +196,7 @@ export default { ...@@ -196,7 +196,7 @@ export default {
// 查找当前课程后面的有没有考试 // 查找当前课程后面的有没有考试
for(let i = index; i < contentList.length; i ++) { for(let i = index; i < contentList.length; i ++) {
// if(contentList[i].type == 1 && contentList[i].status != 14) { // if(contentList[i].type == 1 && contentList[i].status != 14) {
if(contentList[i].type == 1) { if(contentList[i].type == 1 && contentList[i].id) {
hasExam = true; hasExam = true;
currentExam = contentList[i]; currentExam = contentList[i];
break; break;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册