lex-xin 5 years ago
parent
commit
70f575eaba

File diff suppressed because it is too large
+ 0 - 0
dist/css/CourseDetail.01499f4f.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/CourseDetail.0240b872.css


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/CourseDetail.50bbcdc3.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/CourseDetail.96168c9c.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.0c4b6f00.js


+ 6 - 1
src/views/app/CourseDetail.vue

@@ -162,9 +162,10 @@ export default {
                 this.$toast('请输入学生评价')
                 return
             }
+            let tempStatus = false
             students.forEach(item => {
                 if(!this.checked && !item.content) {
-                    this.$toast('请输入学生评价')
+                    tempStatus = true
                     return
                 }
                 params.push({
@@ -174,6 +175,10 @@ export default {
                     "teachingMaterial": this.teachingMaterial
                 })
             })
+            if(tempStatus) {
+                this.$toast('请输入学生评价')
+                return
+            }
             this.$toast.loading({
                 duration: 0,
                 message: '加载中...',

Some files were not shown because too many files changed in this diff