[Fix][UI Next][V1.0.0-Alpha] Fix the upstream Tasks field UI display extra long. (#9148)
* [Fix][UI Next][V1.0.0-Alpha] Fix the upstream Tasks field UI display extra long.subscribe-dev-mailing-list
parent
0868a81061
commit
647b0990aa
|
|
@ -105,23 +105,14 @@ export function useTable(onEdit: Function) {
|
||||||
title: t('project.task.upstream_tasks'),
|
title: t('project.task.upstream_tasks'),
|
||||||
key: 'upstreamTaskMap',
|
key: 'upstreamTaskMap',
|
||||||
render: (row: TaskDefinitionItem) =>
|
render: (row: TaskDefinitionItem) =>
|
||||||
h(
|
row.upstreamTaskMap.map((item: string, index: number) => {
|
||||||
'span',
|
return h(
|
||||||
null,
|
'p',
|
||||||
row.upstreamTaskMap.length < 1
|
null,
|
||||||
? '-'
|
{ default: () => `[${index + 1}] ${item}` }
|
||||||
: h(NSpace, null, {
|
)
|
||||||
default: () =>
|
}),
|
||||||
row.upstreamTaskMap.map((item: string) => {
|
...COLUMN_WIDTH_CONFIG['name']
|
||||||
return h(
|
|
||||||
NTag,
|
|
||||||
{ type: 'info', size: 'small' },
|
|
||||||
{ default: () => item }
|
|
||||||
)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
),
|
|
||||||
width: 140
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('project.task.create_time'),
|
title: t('project.task.create_time'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue