|
@@ -260,14 +260,12 @@ export default {
|
|
|
this.$message.error("标题不能为空");
|
|
|
return;
|
|
|
} else if (this.raceInfo.type.length == 0) {
|
|
|
- this.$message.error("课程分类不能为空");
|
|
|
+ // this.$message.error("课程分类不能为空");
|
|
|
+ this.$message.error("案例组别不能为空");
|
|
|
return;
|
|
|
} else if (this.raceInfo.autor.length == 0) {
|
|
|
this.$message.error("请添加联系人");
|
|
|
return;
|
|
|
- } else if (this.raceInfo.tableData.length == 0) {
|
|
|
- this.$message.error("请添加协作者");
|
|
|
- return;
|
|
|
} else if (this.raceInfo.courseText == "") {
|
|
|
this.$message.error("请填写项目简介");
|
|
|
return;
|
|
@@ -277,6 +275,11 @@ export default {
|
|
|
} else {
|
|
|
this.steps = steps;
|
|
|
}
|
|
|
+
|
|
|
+ // else if (this.raceInfo.tableData.length == 0) {
|
|
|
+ // this.$message.error("请添加协作者");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
} else {
|
|
|
this.steps = steps;
|
|
|
}
|