소스 검색

Merge branch 'master' of http://101.36.160.140:21044/csc/csc-szls-vue

linyanfei 3 년 전
부모
커밋
1bd529c2fa
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      shanXiPlatform/src/views/systemManagement/policySystem/index.vue

+ 2 - 1
shanXiPlatform/src/views/systemManagement/policySystem/index.vue

@@ -32,7 +32,8 @@
32 32
             <el-table-column prop="title" label="标题" align="center" />
33 33
             <el-table-column prop="publishTime" label="发布时间" align="center">
34 34
               <template slot-scope="scope">
35
-                <span>{{scope.row.publishTime}}</span>
35
+                <span v-if="scope.row.publishTime">{{scope.row.publishTime.slice(0,16)}}</span>
36
+                <span v-if="!scope.row.publishTime">{{scope.row.publishTime}}</span>
36 37
               </template>
37 38
             </el-table-column>
38 39
             <el-table-column prop="publishUserName" label="发布人" align="center" />