mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
优化定时任务名称展示效果,提升用户体验 (#1017)
This commit is contained in:
parent
5bfa10bfe7
commit
394735a5d9
|
@ -1,11 +1,3 @@
|
|||
.ant-table-pagination.ant-pagination {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
tr {
|
||||
td:nth-child(2) {
|
||||
span {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
|
|||
width: 150,
|
||||
align: 'center' as const,
|
||||
render: (text: string, record: any) => (
|
||||
<span
|
||||
<a
|
||||
onClick={() => {
|
||||
goToScriptManager(record);
|
||||
}}
|
||||
|
@ -90,7 +90,7 @@ const Crontab = ({ headerStyle, isPhone }: any) => {
|
|||
) : (
|
||||
''
|
||||
)}
|
||||
</span>
|
||||
</a>
|
||||
),
|
||||
sorter: {
|
||||
compare: (a: any, b: any) => a.name.localeCompare(b.name),
|
||||
|
|
Loading…
Reference in New Issue
Block a user