jingyuanchao 1 рік тому
батько
коміт
9f356b262f
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      src/views/core/drill/task/dialog.evaluate.vue

+ 1 - 0
src/views/core/drill/task/dialog.evaluate.vue

@@ -199,6 +199,7 @@ export default {
       console.log("onEvaluate", this.formData)
       if (!this.formData.commentScore) {
         this.$message.error("请选择评分!");
+        return;
       }
       let { commentScore,comment,id} = { ...this.formData};
       let json={};