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>