소스 검색

专业增加majorBelones

shilipojs 2 년 전
부모
커밋
51e931267a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/career/components/CollegesLine.vue

+ 1 - 1
src/views/career/components/CollegesLine.vue

@@ -42,7 +42,7 @@
         <el-table-column prop="collegeCode" label="院校代码" align="center"></el-table-column>
         <el-table-column prop="marjorName" label="专业名称" align="center">
             <template  slot-scope="scope">
-              <div>{{scope.row.marjorName}}</div>
+              <div>{{scope.row.marjorBelongs ? `[${scope.row.marjorBelongs}]` :''}}{{scope.row.marjorName}}</div>
               <div style="color:#9DA0B4;font-size:12px">{{scope.row.marjorDirection}}</div>
             </template>
         </el-table-column>