谢杰标 2 жил өмнө
parent
commit
22d5b1d91a

+ 3 - 3
pages/course/index.vue

@@ -521,7 +521,7 @@ export default {
         }
       });
     },
-    active2(item, isI = true) {
+    active2(item) {
       // console.log('item', item)
       if (item.topicId) {
         uni.navigateTo({
@@ -541,7 +541,7 @@ export default {
       });
       this.mergeBusiness();
       //初始化
-      isI && this.initList();
+      this.initList();
     },
     businessList(data) {
       this.$api.businessList(data).then((res) => {
@@ -551,7 +551,7 @@ export default {
             const item = this.bList.find((e) => e.aliasName == this.bname);
             this.bname = "";
             if (item) {
-              this.active2(item, false);
+              this.active2(item);
             } else {
               this.show = true;
             }