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

bug fixes

上级 6be48a99
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<template v-if="isMultipleExams"> <template v-if="isMultipleExams">
<el-button type="primary" @click="handlePrev" v-if="hasPrev">{{ $t('viewerWork.prevPapers') }}</el-button> <el-button type="primary" @click="handlePrev" v-if="hasPrev">{{ $t('viewerWork.prevPapers') }}</el-button>
<el-button type="primary" @click="handleNext" v-if="hasNext">{{ $t('viewerWork.nextPapers') }}</el-button> <el-button type="primary" @click="handleNext" v-if="hasNext">{{ $t('viewerWork.nextPapers') }}</el-button>
<el-button type="primary" @click="handleNewExam" v-if="hasResubmit"> <el-button type="primary" @click="handleNewExam" v-if="hasResubmit && isExamTime">
{{ $t('viewerWork.anotherSubmitText') }} {{ $t('viewerWork.anotherSubmitText') }}
</el-button> </el-button>
</template> </template>
...@@ -194,7 +194,7 @@ export default { ...@@ -194,7 +194,7 @@ export default {
}, },
// 是否有倒计时 // 是否有倒计时
hasCountdown() { hasCountdown() {
return !!this.status.duration && !this.isSubmited return !!this.status.duration && this.canEditable
}, },
// 倒计时文字 // 倒计时文字
countdownDurationText() { countdownDurationText() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论