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>