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