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