Parcourir la source

去掉prOjectid

谢杰标 il y a 2 ans
Parent
commit
ca6f1be990
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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;
         });
     },