Explorar el Código

Merge branch 'dev' into x_bf_1

谢杰标 hace 2 años
padre
commit
6c786b6638
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/pages/course-list/index.vue

+ 2 - 1
src/pages/course-list/index.vue

@@ -236,6 +236,7 @@ export default {
       if (this.params.educationTypeId == item.id) {
         return;
       }
+      this.params.projectId = "";
       this.params.educationTypeId = item.id;
       this.params.businessId = "";
       this.businessList = [];
@@ -303,7 +304,7 @@ export default {
       this.$request
         .businessList({ educationId: this.params.educationTypeId })
         .then((res) => {
-          this.businessList = res.rows.filter((item) => item.aliasName)
+          this.businessList = res.rows.filter((item) => item.aliasName);
           this.projectId = this.businessList[0].projectId;
         });
     },