Browse Source

fix: 修改考试未开始时老师生成自测试卷的bug

mjh 3 years ago
parent
commit
401ea56690
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/CoderPage/ExamDetail.vue

+ 1 - 0
src/views/CoderPage/ExamDetail.vue

@@ -24,6 +24,7 @@
                 type="primary"
                 type="primary"
                 :loading="loading.create"
                 :loading="loading.create"
                 @click="createExamPaper"
                 @click="createExamPaper"
+                :disabled="statusTagContent!=='进行中'"
             >
             >
               生成自测试卷
               生成自测试卷
             </el-button>
             </el-button>