+
{currentCron.name}
diff --git a/src/pages/crontab/index.less b/src/pages/crontab/index.less
index 8c9d7d58..b0828f9a 100644
--- a/src/pages/crontab/index.less
+++ b/src/pages/crontab/index.less
@@ -81,6 +81,7 @@
display: flex;
align-items: center;
justify-content: space-between;
+ gap: 24px;
.operations {
display: flex;
diff --git a/src/pages/crontab/index.tsx b/src/pages/crontab/index.tsx
index e8f9f98d..4aa3ee02 100644
--- a/src/pages/crontab/index.tsx
+++ b/src/pages/crontab/index.tsx
@@ -75,18 +75,16 @@ const Crontab = () => {
style={{
wordBreak: 'break-all',
marginBottom: 0,
- color: '#1890ff'
+ color: '#1890ff',
+ cursor: 'pointer'
}}
ellipsis={{ tooltip: text, rows: 2 }}
+ onClick={() => {
+ setDetailCron(record);
+ setIsDetailModalVisible(true);
+ }}
>
- {
- setDetailCron(record);
- setIsDetailModalVisible(true);
- }}
- >
- {record.name || '-'}
-
+ {record.name || '-'}
),
sorter: {