|
@@ -51,7 +51,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="10" class="messbute"> 信息属性:{{ item.messattribute }} </el-col>
|
|
<el-col :span="10" class="messbute"> 信息属性:{{ item.messattribute }} </el-col>
|
|
<el-col :span="4" class="date">
|
|
<el-col :span="4" class="date">
|
|
- {{ getDate(item.create_time) }}
|
|
|
|
|
|
+ {{ getDate(item.meta.createdAt) }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="info">
|
|
<el-col :span="24" class="info">
|
|
{{ item.informationdesc }}
|
|
{{ item.informationdesc }}
|
|
@@ -84,6 +84,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 整理时间
|
|
// 整理时间
|
|
getDate(date) {
|
|
getDate(date) {
|
|
|
|
+ console.log(date);
|
|
let newsDate = moment(date).format('YYYY-MM-DD');
|
|
let newsDate = moment(date).format('YYYY-MM-DD');
|
|
if (newsDate) return newsDate;
|
|
if (newsDate) return newsDate;
|
|
},
|
|
},
|