feat:对齐 antd、ele 的代码逻辑

This commit is contained in:
YunaiV
2025-10-26 21:10:16 +08:00
parent b1479c34c5
commit 9651ec49a6
10 changed files with 23 additions and 11 deletions

View File

@@ -198,7 +198,9 @@ export function useDetailSchema(): DescriptionItemSchema[] {
{
field: 'exceptionTime',
label: '异常时间',
render: (val) => formatDateTime(val) as string,
render: (val) => {
return formatDateTime(val) as string;
},
},
{
field: 'exceptionName',
@@ -239,7 +241,9 @@ export function useDetailSchema(): DescriptionItemSchema[] {
field: 'processTime',
label: '处理时间',
show: (val) => !val,
render: (val) => formatDateTime(val) as string,
render: (val) => {
return formatDateTime(val) as string;
},
},
];
}