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

@@ -163,7 +163,9 @@ export function useDetailSchema(): DescriptionItemSchema[] {
{
field: 'createTime',
label: '创建时间',
render: (val) => formatDateTime(val) as string,
render: (val) => {
return formatDateTime(val) as string;
},
},
{
field: 'fromMail',

View File

@@ -169,8 +169,8 @@ export function useDetailSchema(): DescriptionItemSchema[] {
show: (val) => !val,
},
{
label: '请求 URL',
field: 'requestUrl',
label: '请求 URL',
render: (val, data) => {
if (data?.requestMethod && val) {
return `${data.requestMethod} ${val}`;