完善公告时间戳

This commit is contained in:
jiayuqi7813
2022-07-01 02:10:00 +08:00
parent 2c9b4a7f4f
commit 0af9d9a010
5 changed files with 36 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ export default {
this.data.forEach(function(item,index){
item.created_at = dayjs(item.created_at).format('YYYY-MM-DD HH:mm:ss');
})
this.data.reverse();
}
})
}
@@ -41,4 +42,4 @@ export default {
<style>
</style>
</style>