refactor(UI 自动化): 代码花括号
This commit is contained in:
parent
244d339a61
commit
f95d2337ed
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue