mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复排序顺序
This commit is contained in:
1 parent
12896659a8
commit
c3c585bd6e
1 file changed
+1
-1
@@ -196,7 +196,7 @@ const Crontab = () => {
|
|||||||
setValue(
|
setValue(
|
||||||
data.data.sort((a: any, b: any) => {
|
data.data.sort((a: any, b: any) => {
|
||||||
if (a.status === b.status && a.status === CrontabStatus.idle) {
|
if (a.status === b.status && a.status === CrontabStatus.idle) {
|
||||||
return a.isDisabled - b.isDisable;
|
return a.isDisabled - b.isDisabled;
|
||||||
}
|
}
|
||||||
return CrontabSort[a.status] - CrontabSort[b.status];
|
return CrontabSort[a.status] - CrontabSort[b.status];
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in new issue
Block a user