mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复定时任务日志滚动
This commit is contained in:
@@ -50,8 +50,8 @@ const CronLogModal = ({
|
||||
log && !logEnded(log) && !log.includes('任务未运行'),
|
||||
);
|
||||
setExecuting(hasNext);
|
||||
autoScroll();
|
||||
if (hasNext) {
|
||||
autoScroll();
|
||||
setTimeout(() => {
|
||||
getCronLog();
|
||||
}, 2000);
|
||||
@@ -74,7 +74,7 @@ const CronLogModal = ({
|
||||
document
|
||||
.querySelector('#log-flag')!
|
||||
.scrollIntoView({ behavior: 'smooth' });
|
||||
}, 1000);
|
||||
}, 600);
|
||||
};
|
||||
|
||||
const cancel = () => {
|
||||
|
||||
Reference in New Issue
Block a user