修复任务运行错误时没有日志,修改 tooltip 样式

This commit is contained in:
whyour
2023-08-24 23:14:22 +08:00
parent ac904cae61
commit 0b9066525a
4 changed files with 21 additions and 20 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ const Crontab = () => {
dataIndex: 'name',
key: 'name',
fixed: 'left',
width: 140,
width: 120,
render: (text: string, record: any) => (
<>
<a
@@ -124,7 +124,7 @@ const Crontab = () => {
title: intl.get('命令/脚本'),
dataIndex: 'command',
key: 'command',
width: 220,
width: 240,
render: (text, record) => {
return (
<Paragraph
+1 -5
View File
@@ -91,11 +91,7 @@ const Env = () => {
render: (text: string, record: any) => {
return (
<div style={{ display: 'flex', alignItems: 'center' }}>
<Tooltip
title={text}
placement="topLeft"
overlayInnerStyle={{ maxHeight: 400, overflowY: 'auto' }}
>
<Tooltip title={text} placement="topLeft">
<div className="text-ellipsis">{text}</div>
</Tooltip>
<Copy text={text} />