Commit e8eebc08 by 胡悦

修改时间

1 parent 295ac00d
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-11-08 10:38:40
* @LastEditors: huyue
* @LastEditTime: 2022-11-09 15:15:40
* @LastEditTime: 2022-11-09 16:12:42
-->
<template>
<div class="table-box">
......@@ -50,7 +50,14 @@ export default {
},
{
label: '操作时间',
prop: 'createTime'
prop: 'createTime',
formatter: cellValue => {
if (cellValue.createTime) {
return new Date(cellValue.createTime).format(
'yyyy-MM-dd HH:mm:ss'
)
}
}
}
]
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!