소스 검색

单选切换

xuqiaoying 3 년 전
부모
커밋
402387f8ea
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      pages5/examBank/index.vue

+ 3 - 0
pages5/examBank/index.vue

@@ -1698,6 +1698,9 @@ export default {
       console.log('222', this.questionList)
       if (this.questionList[bindex].ques) return;
       this.$set(this.questionList[bindex], "ques", optionsId);
+      if ((bindex + 1) < this.questionList.length) {
+        this.current = bindex + 1
+      }
       this.isDoOver();
     },