若依修改时间显示格式,显示时分秒

 

 

1、修改html文件中需要修改的时间格式

<template slot-scope="scope">
       <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template>
      

 

posted @ 2024-03-20 18:35  小小仓鼠  阅读(219)  评论(0编辑  收藏  举报