修改定时任务查询日志逻辑

This commit is contained in:
whyour
2023-01-29 18:07:57 +08:00
parent 633b30269c
commit c6220cb920
2 changed files with 10 additions and 74 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const CronLogModal = ({
) {
const log = data as string;
setValue(log || '暂无日志');
const hasNext = log && !logEnded(log) && !log.includes('重启面板');
const hasNext = log && !logEnded(log) && !log.includes('重启面板') && !log.includes('任务未运行或运行失败,请尝试手动运行');
setExecuting(hasNext);
setTimeout(() => {
document