Explorar el Código

继教改成继续教育

Tang hace 2 años
padre
commit
c580eb9d8f
Se han modificado 1 ficheros con 2 adiciones y 10 borrados
  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;"