refactor(UI 自动化): 代码格式修改

This commit is contained in:
zhangdahai112 2022-06-30 16:39:44 +08:00
parent b85c3ebf7e
commit 11a8b7bd03
1 changed files with 2 additions and 1 deletions

View File

@ -516,9 +516,10 @@ export default {
cleanHeartBeat() {
if (window.heartBeatHandle) {
clearInterval(window.heartBeatHandle);
if (window.localStorage.getItem(this.websocketKey()))
if (window.localStorage.getItem(this.websocketKey())) {
window.localStorage.removeItem(this.websocketKey());
}
}
},
heartBeat() {
let msg = {