修改时间格式化

This commit is contained in:
liaozetao
2024-01-12 15:13:29 +08:00
parent 60f349060d
commit 368550d4b8

View File

@@ -279,6 +279,7 @@
<script> <script>
import TableHelper from '@/utils/bootstrap-table-helper'; import TableHelper from '@/utils/bootstrap-table-helper';
import { formatTime } from '@/utils/maintainer';
export default { export default {
name: "WithdrawUserView", name: "WithdrawUserView",
@@ -314,7 +315,15 @@ export default {
return value; return value;
} }
}, },
{ field: 'updateTime', title: '修改时间', align: 'center', width: '5%' }, {
field: 'updateTime',
title: '修改时间',
align: 'center',
width: '5%',
formatter: function (val, row, index) {
return formatTime(val);
}
},
], ],
cache: false, cache: false,
striped: true, striped: true,