[Fix][UI Next][V1.0.0-Alpha] Fix the time columns cannot be broken in the cron manage table. (#9334)
parent
d7a4dc1dbc
commit
a866465d01
|
|
@ -46,6 +46,9 @@ export const COLUMN_WIDTH_CONFIG = {
|
|||
time: {
|
||||
width: 180
|
||||
},
|
||||
timeZone: {
|
||||
width: 220
|
||||
},
|
||||
operation: (number: number): CommonColumnInfo => ({
|
||||
fixed: 'right',
|
||||
width: Math.max(30 * number + 12 * (number - 1) + 24, 100)
|
||||
|
|
|
|||
|
|
@ -89,13 +89,13 @@ export function useTable() {
|
|||
{
|
||||
title: t('project.workflow.start_time'),
|
||||
key: 'startTime',
|
||||
...COLUMN_WIDTH_CONFIG['time'],
|
||||
...COLUMN_WIDTH_CONFIG['timeZone'],
|
||||
render: (row: any) => renderTime(row.startTime, row.timezoneId)
|
||||
},
|
||||
{
|
||||
title: t('project.workflow.end_time'),
|
||||
key: 'endTime',
|
||||
...COLUMN_WIDTH_CONFIG['time'],
|
||||
...COLUMN_WIDTH_CONFIG['timeZone'],
|
||||
render: (row: any) => renderTime(row.endTime, row.timezoneId)
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue