diff --git a/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue b/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue index 6e26a31d4b..95bbb2d413 100644 --- a/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/SysnApiReportDetail.vue @@ -516,8 +516,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() {