OnePsycho 2 years ago
parent
commit
5024f3e91e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      TEAMModelOS/ClientApp/src/view/assessment/BaseArtInputNum.vue

+ 3 - 2
TEAMModelOS/ClientApp/src/view/assessment/BaseArtInputNum.vue

@@ -52,10 +52,11 @@ export default {
   },
   methods: {
     editScore() {
-      if (this.quota.score == -1) {
+      console.error('演唱题分数', this.row.flatScoreArr.find(i => i.id === this.quota.id).score)
+      if (this.row.flatScoreArr.find(i => i.id === this.quota.id).score <= 0) {
         this.$Message.warning('该学生暂未作答,无法评分!')
       } else {
-        musicModal = true
+        this.musicModal = true
       }
     },
     handleZYData(data) {