refactor(UI 自动化): 代码花括号

This commit is contained in:
zhangdahai112 2022-06-30 16:38:30 +08:00
parent 244d339a61
commit f95d2337ed
1 changed files with 2 additions and 1 deletions

View File

@ -520,8 +520,9 @@ 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() {