|
@@ -67,12 +67,16 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- setTimeout(() => this.getRemainTimeFromServer(), 10 * 1000);
|
|
|
+ this.retryHeartbeatTimeout = setTimeout(
|
|
|
+ () => this.getRemainTimeFromServer(),
|
|
|
+ 10 * 1000
|
|
|
+ );
|
|
|
}
|
|
|
},
|
|
|
clearIntervals() {
|
|
|
clearInterval(this.heartbeatInterval);
|
|
|
clearInterval(this.remainTimeInterval);
|
|
|
+ clearTimeout(this.retryHeartbeatTimeout);
|
|
|
}
|
|
|
},
|
|
|
computed: {
|