<el-table-column label="执行时间" align="center" prop="time" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
Vue中el-table中格式化数据(日期的方法
最新推荐文章于 2024-04-26 17:37:33 发布