浏览代码

feat: ai设置可以不设置标答

zhangjie 2 月之前
父节点
当前提交
441da21eb1
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/modules/mark/components/markParam/ModifyMarkAiSet.vue

+ 0 - 4
src/modules/mark/components/markParam/ModifyMarkAiSet.vue

@@ -235,10 +235,6 @@ export default {
     async handleSubmit() {
       const valid = await this.$refs.FormRef.validate().catch(() => {});
       if (!valid) return;
-      if (!this.answers.length) {
-        this.$message.error("请添加标答");
-        return;
-      }
 
       if (this.loading) return;
       this.loading = true;