mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复任务运行错误时没有日志,修改 tooltip 样式
This commit is contained in:
@@ -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
|
||||
|
||||
Vendored
+1
-5
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user