mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
修复cron日志展示
This commit is contained in:
parent
688fdbff2a
commit
f706b1aa2e
|
@ -30,7 +30,7 @@ const CronLogModal = ({
|
|||
.then((data: any) => {
|
||||
const log = data.data as string;
|
||||
setValue(log || '暂无日志');
|
||||
if (log && log.includes('执行结束')) {
|
||||
if (log && !log.includes('执行结束')) {
|
||||
setTimeout(() => {
|
||||
getCronLog();
|
||||
}, 2000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user