From 6a773820988f0813c2e74f4b9a2bae46514fca48 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Fri, 20 Dec 2024 14:59:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A7=A9=20=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/schedulerExecuteLog/utils/columns.ts | 6 +++--- src/views/monitor/userLoginLog/utils/columns.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/monitor/schedulerExecuteLog/utils/columns.ts b/src/views/monitor/schedulerExecuteLog/utils/columns.ts index b671fbc..70e8b50 100644 --- a/src/views/monitor/schedulerExecuteLog/utils/columns.ts +++ b/src/views/monitor/schedulerExecuteLog/utils/columns.ts @@ -10,13 +10,13 @@ export const columns: TableColumnList = [ // 任务分组 { label: $t('quartzExecuteLog_jobGroup'), prop: 'jobGroup', width: 100 }, // 执行任务类名 - { label: $t('quartzExecuteLog_jobClassName'), prop: 'jobClassName', width: 100 }, + { label: $t('quartzExecuteLog_jobClassName'), prop: 'jobClassName', width: 300 }, // 执行任务core表达式 - { label: $t('quartzExecuteLog_cronExpression'), prop: 'cronExpression', width: 100 }, + { label: $t('quartzExecuteLog_cronExpression'), prop: 'cronExpression', width: 120 }, // 触发器名称 { label: $t('quartzExecuteLog_triggerName'), prop: 'triggerName', width: 100 }, // 执行结果 - { label: $t('quartzExecuteLog_executeResult'), prop: 'executeResult', width: 410, slot: 'executeResult' }, + { label: $t('quartzExecuteLog_executeResult'), prop: 'executeResult', minWidth: 410, slot: 'executeResult' }, // 执行时间 { label: $t('quartzExecuteLog_duration'), prop: 'duration', width: 100 }, { label: $t('table.updateTime'), prop: 'updateTime', sortable: true, width: 160 }, diff --git a/src/views/monitor/userLoginLog/utils/columns.ts b/src/views/monitor/userLoginLog/utils/columns.ts index cbd0f11..0473eb9 100644 --- a/src/views/monitor/userLoginLog/utils/columns.ts +++ b/src/views/monitor/userLoginLog/utils/columns.ts @@ -12,7 +12,7 @@ export const columns: TableColumnList = [ // 登录Ip归属地 { label: $t('userLoginLog_ipRegion'), prop: 'ipRegion', width: 160 }, // 登录时代理 - { label: $t('userLoginLog_userAgent'), prop: 'userAgent', width: 130 }, + { label: $t('userLoginLog_userAgent'), prop: 'userAgent' }, // 操作类型 { label: $t('userLoginLog_type'), prop: 'type', width: 130 }, // 标识客户端是否是通过Ajax发送请求的