y595705120 3 周之前
父节点
当前提交
940170c3a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/containers/center/exam/index.vue

+ 1 - 1
src/containers/center/exam/index.vue

@@ -73,7 +73,7 @@
 
                 <div class="page-ctrl">
                   <el-button  type="primary" :disabled="currentQuestion.index<1" @click="prevQuestion">上一题</el-button>
-                  <el-button  type="primary" :disabled="currentQuestion.index>48" @click="nextQuestion">下一题</el-button>
+                  <el-button  type="primary" :disabled="currentQuestion.index>questionList.length-2" @click="nextQuestion">下一题</el-button>
                 </div>
               </el-card>
             </div>