Tang 2 жил өмнө
parent
commit
c580eb9d8f
1 өөрчлөгдсөн 2 нэмэгдсэн , 10 устгасан
  1. 2 10
      src/pages/home/index.vue

+ 2 - 10
src/pages/home/index.vue

@@ -167,11 +167,7 @@
                   :key="'type' + typeItem"
                 >
                   <div class="title" @click="goCourse(type)">
-                    {{
-                      type.educationName == "继续教育"
-                        ? "继教"
-                        : type.educationName
-                    }}
+                    {{type.educationName }}
                   </div>
                   <ul class="nav">
                     <li
@@ -191,11 +187,7 @@
                 <li v-for="(item, index) in typeList" :key="index">
                   <div class="text">
                     <div class="text__title" @click="goCourse(item)">
-                      {{
-                        item.educationName == "继续教育"
-                          ? "继教"
-                          : item.educationName
-                      }}
+                      {{type.educationName }}
                       <i
                         class="el-icon-arrow-right"
                         style="float: right;margin-right: 10px;"