diff --git a/src/views/modules/commonNews/course-add-or-update.vue b/src/views/modules/commonNews/course-add-or-update.vue index 4a34ac3..480936d 100644 --- a/src/views/modules/commonNews/course-add-or-update.vue +++ b/src/views/modules/commonNews/course-add-or-update.vue @@ -36,15 +36,6 @@ > - @@ -227,12 +218,14 @@ export default { title: "", isBook: 0, //是否是疯子读书 isMedical: 0, //是否是吴门医述 - isSociology: 0 //是否是众妙之门 + isSociology: 0, //是否是众妙之门 + isPsyche: 0 //是否是心灵空间 }, APPList: [ { label: "疯子读书", value: 2, valueName: "isBook" }, { label: "吴门医述", value: 3, valueName: "isMedical" }, - { label: "众妙之门", value: 1, valueName: "isSociology" } + { label: "众妙之门", value: 1, valueName: "isSociology" }, + { label: "心灵空间", value: 4, valueName: "isPsyche" } ], dataRule: { title: [ @@ -320,7 +313,8 @@ this.dataForm.content='' title: "", isBook: 0, //是否是疯子读书 isMedical: 0, //是否是吴门医述 - isSociology: 0 //是否是众妙之门 + isSociology: 0, //是否是众妙之门 + isPsyche: 0 //是否是心灵空间 }; } @@ -335,7 +329,8 @@ this.dataForm.content='' if ( this.dataForm.isBook == 0 && this.dataForm.isMedical == 0 && - this.dataForm.isSociology == 0 + this.dataForm.isSociology == 0 && + this.dataForm.isPsyche == 0 ) { this.$message.error("请选择发布APP"); return;