Explorar o código

去掉activeAll

谢杰标 %!s(int64=3) %!d(string=hai) anos
pai
achega
5ef618ad6c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pages/course/index.vue

+ 2 - 2
pages/course/index.vue

@@ -349,7 +349,7 @@
               class="tylsz"
               class="tylsz"
               v-for="(item, index) in eList"
               v-for="(item, index) in eList"
               :key="index"
               :key="index"
-              @click="item.id === 0 ? activeAll(1) : active1(item)"
+              @click="active1(item)"
               :class="item.id === selObj.eId ? 'activeStys' : ''"
               :class="item.id === selObj.eId ? 'activeStys' : ''"
               >{{ item.educationName }}</view
               >{{ item.educationName }}</view
             >
             >
@@ -360,7 +360,7 @@
               class="tylszB"
               class="tylszB"
               v-for="(item, index) in bList"
               v-for="(item, index) in bList"
               :key="index"
               :key="index"
-              @click="item.id === 0 ? activeAll(2) : active2(item)"
+              @click="active2(item)"
               :class="item.id === selObj.bId ? 'activeStys2' : ''"
               :class="item.id === selObj.bId ? 'activeStys2' : ''"
               >{{ item.aliasName }}</view
               >{{ item.aliasName }}</view
             >
             >