|
@@ -1511,12 +1511,13 @@ export default {
|
|
|
0 ||
|
|
|
this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length ==
|
|
|
0 ||
|
|
|
- (this.courseName != "" &&
|
|
|
- this.courseText != "" &&
|
|
|
- this.cover.length != 0 &&
|
|
|
- this.courseTypeId.length != 0 &&
|
|
|
- this.checkboxList.length != 0 &&
|
|
|
- (this.templateC.id == "" || this.templateC.id == undefined))
|
|
|
+ this.courseName == "" ||
|
|
|
+ this.courseText == "" ||
|
|
|
+ this.cover.length == 0 ||
|
|
|
+ this.courseTypeId.length == 0 ||
|
|
|
+ this.checkboxList.length == 0 ||
|
|
|
+ this.templateC.id == "" ||
|
|
|
+ this.templateC.id == undefined
|
|
|
) {
|
|
|
this.$message.error("请将信息填写完整");
|
|
|
return;
|
|
@@ -1550,12 +1551,13 @@ export default {
|
|
|
0 ||
|
|
|
this.unitJson[this.unitIndex].chapterInfo[0].chapterData.length ==
|
|
|
0 ||
|
|
|
- (this.courseName != "" &&
|
|
|
- this.courseText != "" &&
|
|
|
- this.cover.length != 0 &&
|
|
|
- this.courseTypeId.length != 0 &&
|
|
|
- this.checkboxList.length != 0 &&
|
|
|
- (this.templateC.id == "" || this.templateC.id == undefined))
|
|
|
+ this.courseName == "" ||
|
|
|
+ this.courseText == "" ||
|
|
|
+ this.cover.length == 0 ||
|
|
|
+ this.courseTypeId.length == 0 ||
|
|
|
+ this.checkboxList.length == 0 ||
|
|
|
+ this.templateC.id == "" ||
|
|
|
+ this.templateC.id == undefined
|
|
|
) {
|
|
|
this.$message.error("请将信息填写完整");
|
|
|
return;
|