|
|
@@ -38,6 +38,7 @@
|
|
|
import userCenterApi from '@/api/sys/userCenterApi'
|
|
|
import tool from '@/utils/tool'
|
|
|
import { nextTick } from 'vue'
|
|
|
+ import dayjs from 'dayjs'
|
|
|
|
|
|
const messageCategoryList = tool.dictList('MESSAGE_CATEGORY')
|
|
|
const selectedKeys = ref(new Array(messageCategoryList[0].value))
|
|
|
@@ -51,7 +52,10 @@
|
|
|
{
|
|
|
title: '发送时间',
|
|
|
dataIndex: 'createTime',
|
|
|
- sorter: true
|
|
|
+ sorter: true,
|
|
|
+ customRender: ({ text }) => {
|
|
|
+ return dayjs(text).format('YYYY-MM-DD HH:mm:ss')
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '是否已读',
|