소스 검색

table表单调整

wangxy 2 년 전
부모
커밋
04bb924565
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/management/RegistrationManagement/components/Table.vue

+ 3 - 3
src/views/management/RegistrationManagement/components/Table.vue

@@ -22,9 +22,9 @@
           width="160">
         <template slot-scope="scope">
           <span v-if="scope.row.type == 1">动画类课程</span>
-          <span v-if="scope.row.type == 2">视频类课程</span>
-          <span v-if="scope.row.type == 3">H5类课程</span>
-          <span v-if="scope.row.type == 4 ">PPT定制与美化</span>
+          <span v-else-if="scope.row.type == 2">视频类课程</span>
+          <span v-else-if="scope.row.type == 3">H5类课程</span>
+          <span v-else-if="scope.row.type == 4 ">PPT定制与美化</span>
           <span v-else> - </span>
         </template>
       </el-table-column>