mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 00:09:16 +08:00
fix: 解决 Supervisor 停止之后一直同步状态的问题 (#2346)
This commit is contained in:
parent
50589a8d8d
commit
2724708539
@ -228,7 +228,7 @@ const search = async () => {
|
||||
needLoadStatus = true;
|
||||
}
|
||||
}
|
||||
if (needLoadStatus) {
|
||||
if (supervisorStatus.value.isRunning && needLoadStatus) {
|
||||
setTimeout(loadStatus, 1000);
|
||||
}
|
||||
} catch (error) {}
|
||||
@ -252,7 +252,7 @@ const loadStatus = async () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (needLoadStatus) {
|
||||
if (supervisorStatus.value.isRunning && needLoadStatus) {
|
||||
setTimeout(loadStatus, 2000);
|
||||
}
|
||||
} catch (error) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user