fix: code style

This commit is contained in:
dylanmay
2025-11-06 23:23:25 +08:00
parent 500ce9cf7c
commit 007bb2dd26
21 changed files with 116 additions and 105 deletions

View File

@@ -18,7 +18,9 @@ const props = withDefaults(
loading?: boolean;
}>(),
{
list: () => [],
list() {
return [];
},
loading: false,
},
);
@@ -33,7 +35,9 @@ const columns: TableColumnsType = [
dataIndex: 'createTime',
width: 180,
align: 'center',
customRender: ({ record }) => formatDate2(record.createTime),
customRender({ record }) {
return formatDate2(record.createTime);
},
},
{
title: '消息类型',