liukangdong
2024-07-04 7c7c4ae64b84be1766a5ebbe3ba5ee97cba8c6da
h5/pages/answer/answer.vue
@@ -304,7 +304,6 @@
              item.status = '0'
              item.selAnswer = null
            })
            console.log(res.data)
            this.list = res.data
          }
          // res.param.problemsDOList.forEach(item => {
@@ -316,7 +315,7 @@
    },
    // 单选选择中题目
    select(line, i) {
      if (this.status === '2') return
      if (this.status != '0') return
      this.list.forEach((item, index) => {
        if (index === i) {
          item.selAnswer = line.code
@@ -325,7 +324,7 @@
      // this.problemIndex = index
    },
    changeBox(index, jeck) {
      if (this.status === '2') return
      if (this.status != '0') return
      this.list.forEach((item, i) => {
        if (index === i) {
          item.options.forEach((item2, j) => {