mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 01:14:50 +08:00
测试git push
This commit is contained in:
@@ -44,8 +44,12 @@ const CronLogModal = ({
|
||||
getCronLog();
|
||||
}, 2000);
|
||||
}
|
||||
if (log && log.includes('重启面板')) {
|
||||
message.warning({ content: '系统将在5秒后刷新', duration: 5 });
|
||||
if (
|
||||
log &&
|
||||
log.includes('重启面板') &&
|
||||
cron.status === CrontabStatus.running
|
||||
) {
|
||||
message.warning({ content: '系统将在5秒后自动刷新', duration: 5 });
|
||||
setTimeout(() => {
|
||||
window.location.reload();
|
||||
}, 5000);
|
||||
|
||||
Reference in New Issue
Block a user