Browse Source

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

linyanfei 3 years ago
parent
commit
1bd529c2fa
1 changed files with 2 additions and 1 deletions
  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" />