Browse Source

去掉prOjectid

谢杰标 2 years ago
parent
commit
ca6f1be990
1 changed files with 2 additions and 1 deletions
  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;
         });
     },