fix: setTimout problem

This commit is contained in:
eilenexuzhe
2020-04-02 16:59:38 +08:00
parent e1a8081f4b
commit 922545096a
4 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ class Cluster {
return getRebalanceStatus(clusterId).then((type) => {
this.setLeaderStatus(type);
if (type === 'RUNNING') {
setTimeout(() => {
window.setTimeout(() => {
this.getRebalance(clusterId);
}, 1000 * 2);
}