perf: 优化显示效果 及 formatter row cellvalue的区分

This commit is contained in:
xingyu4j
2025-05-29 14:52:03 +08:00
parent 8be5c19154
commit b4a77266a1
40 changed files with 12 additions and 302 deletions

View File

@@ -133,8 +133,8 @@ export function useGridColumns<T = BpmTaskApi.TaskVO>(
field: 'durationInMillis',
title: '耗时',
minWidth: 180,
formatter: ({ row }) => {
return `${formatPast2(row.durationInMillis)}`;
formatter: ({ cellValue }) => {
return `${formatPast2(cellValue)}`;
},
},
{

View File

@@ -89,8 +89,8 @@ export function useGridColumns<T = BpmTaskApi.TaskVO>(
field: 'durationInMillis',
title: '耗时',
minWidth: 180,
formatter: ({ row }) => {
return `${formatPast2(row.durationInMillis)}`;
formatter: ({ cellValue }) => {
return `${formatPast2(cellValue)}`;
},
},
{