Commit e8eebc08 by 胡悦

修改时间

1 parent 295ac00d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-11-08 10:38:40 * @Date: 2022-11-08 10:38:40
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-11-09 15:15:40 * @LastEditTime: 2022-11-09 16:12:42
--> -->
<template> <template>
<div class="table-box"> <div class="table-box">
...@@ -50,7 +50,14 @@ export default { ...@@ -50,7 +50,14 @@ export default {
}, },
{ {
label: '操作时间', 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!