提交 e4e76bb8 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 0133ad31
......@@ -76,8 +76,8 @@ export default {
methods: {
// 是否可以重复考试
canRepeateExam(item) {
// 状态已完成,并且设置了多次考试
return [1, 2].includes(item.status) && item.paper_info && item.paper_info.is_multiple_exams
// 试卷已批阅,并且设置了多次考试
return item.status === 2 && item.paper_info && item.paper_info.is_multiple_exams
},
getExamStatusName(status) {
const map = {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论