瀏覽代碼

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" />