mo %!s(int64=3) %!d(string=hai) anos
pai
achega
9cddf9fea4
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/views/liveClassManager/newLiveClass.vue

+ 4 - 3
src/views/liveClassManager/newLiveClass.vue

@@ -219,8 +219,9 @@
               filterable
               clearable
               multiple
-              @change="changeSchool"
+
             >
+            <!--   @change="changeSchool" -->
               <el-option
                 v-for="(item, index) in cooperationList"
                 :key="index"
@@ -554,7 +555,7 @@ export default {
         this.form.schoolIds = [];
         this.form.teamIds = [];
       // }
-      if (this.form.popularizeType == "SCHOOL" || (val && val.length > 0)) {
+      if (this.form.popularizeType == "SCHOOL" && val && val.length > 0) {
         let organId = val.join(",");
         try {
           await queryByOrganId({ organId }).then((res) => {
@@ -566,7 +567,7 @@ export default {
           console.log(e);
         }
       }
-      if (this.form.popularizeType == "TEAM" || (val && val.length > 0)) {
+      if (this.form.popularizeType == "TEAM" && (val && val.length > 0)) {
         let organId = val.join(",");
         try {
           await getTeamList({ organId, page: 1, rows: 9999 }).then((res) => {