完善公告时间戳
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user