浏览代码

单选切换

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();
     },