mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复定时任务状态筛选
This commit is contained in:
1 parent
f19dd21155
commit
a25bfb6912
2 files changed
+13
-12
No files matched your search
@@ -279,13 +279,6 @@ const Crontab = () => {
|
||||
value: 3,
|
||||
},
|
||||
],
|
||||
onFilter: (value, record) => {
|
||||
if (record.isDisabled && record.status !== 0) {
|
||||
return value === 2;
|
||||
} else {
|
||||
return record.status === value;
|
||||
}
|
||||
},
|
||||
render: (text, record) => (
|
||||
<>
|
||||
{(!record.isDisabled || record.status !== CrontabStatus.idle) && (
|
||||
@@ -1051,7 +1044,7 @@ const Crontab = () => {
|
||||
rowSelection={rowSelection}
|
||||
rowClassName={getRowClassName}
|
||||
onChange={onPageChange}
|
||||
components={isPhone ? undefined : vt}
|
||||
// components={isPhone ? undefined : vt}
|
||||
/>
|
||||
</div>
|
||||
<CronLogModal
|
||||
|
||||
Reference in new issue
Block a user