修复添加定时任务插入顺序

ql repo拉取失败自动删除目录重新拉取一次
This commit is contained in:
hanhh
2021-08-12 00:00:39 +08:00
parent 8be71b129a
commit d06fccd0d1
10 changed files with 50 additions and 200 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ const Crontab = () => {
const index = value.findIndex((x) => x._id === cron._id);
const result = [...value];
if (index === -1) {
result.push(cron);
result.unshift(cron);
} else {
result.splice(index, 1, {
...cron,
-12
View File
@@ -21,15 +21,3 @@
.log-container {
display: flex;
}
:global {
.log-wrapper {
.ant-pro-grid-content.wide .ant-pro-page-container-children-content {
background-color: #f8f8f8;
}
.CodeMirror {
width: calc(100% - 32px - @tree-width);
}
}
}
+1 -1
View File
@@ -131,7 +131,7 @@ const Log = () => {
style: headerStyle,
}}
>
<div className={`${styles['log-container']}`}>
<div className={`${styles['log-container']} log-container`}>
{!isPhone && (
<div className={styles['left-tree-container']}>
<Input.Search
-12
View File
@@ -21,15 +21,3 @@
.log-container {
display: flex;
}
:global {
.log-wrapper {
.ant-pro-grid-content.wide .ant-pro-page-container-children-content {
background-color: #f8f8f8;
}
.CodeMirror {
width: calc(100% - 32px - @tree-width);
}
}
}
+1 -1
View File
@@ -120,7 +120,7 @@ const Script = () => {
style: headerStyle,
}}
>
<div className={`${styles['log-container']}`}>
<div className={`${styles['log-container']} log-container`}>
{!isPhone && (
<div className={styles['left-tree-container']}>
<Input.Search