fuliqi
2024-07-08 502ded525d414aa1de5a00c364e76f1cd077de9e
阅卷1.5只能给到1分bug修复
2个文件已修改
5 ■■■■■ 已修改文件
src/views/exam/exam/components/MarkPaperShow.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/meet/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/exam/components/MarkPaperShow.vue
@@ -90,7 +90,7 @@
      </div>
      <span style="color:#ECAB3C;">{{ '批改:' }}</span>
      <el-input-number size="mini" v-model="question.score" :precision="1" :min="0"
                       :max="parseInt(question.questionScore)" @change="updateRight"></el-input-number>
                       :max="parseFloat(question.questionScore)" @change="updateRight"></el-input-number>
    </div>
    <div v-else>
    </div>
@@ -128,7 +128,7 @@
  methods: {
    updateRight () {
      // 当score变化时,检查它是否等于questionScore
      this.question.right = this.question.score === parseInt(this.question.questionScore)
      this.question.right = this.question.score === parseFloat(this.question.questionScore)
      const foundAnswer = this.answer.find(answer => answer.itemOrder === this.question.itemOrder)
      if (foundAnswer) {
        foundAnswer.right = this.question.right
src/views/meet/index.vue
@@ -31,7 +31,6 @@
      toolbarButtons: ['whiteboard']
    }
    jitsiApi = new window.JitsiMeetExternalAPI(domain, options)
    jitsiApi.addListener('readyToClose', () => {
      window.close()
    })