[Fix][UI Next][V1.0.0-Alpha] Fix the time columns cannot be broken in the cron manage table. (#9334)

dependabot/maven/org.springframework-spring-beans-5.3.18
songjianet 2022-04-02 18:12:31 +08:00 committed by GitHub
parent d7a4dc1dbc
commit a866465d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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)
},
{