瀏覽代碼

演练评价bug处理

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={};