mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修改任务管理表格样式
This commit is contained in:
parent
9a57c27a4f
commit
c4eb16b137
|
@ -53,8 +53,22 @@ const Crontab = () => {
|
||||||
title: '任务',
|
title: '任务',
|
||||||
dataIndex: 'command',
|
dataIndex: 'command',
|
||||||
key: 'command',
|
key: 'command',
|
||||||
width: '50%',
|
width: '40%',
|
||||||
align: 'center' as const,
|
align: 'center' as const,
|
||||||
|
render: (text: string, record: any) => {
|
||||||
|
return (
|
||||||
|
<span
|
||||||
|
style={{
|
||||||
|
textAlign: 'left',
|
||||||
|
width: '100%',
|
||||||
|
display: 'inline-block',
|
||||||
|
wordBreak: 'break-all',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{text}
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '任务定时',
|
title: '任务定时',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user