Browse Source

继续:热点列表页数据加载逻辑优化

(cherry picked from commit 1fecf56dafa8a3f7c0e8e502ff565a91cf9f3765)
任一存 2 years ago
parent
commit
4fb014ce3e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/gui/CustomHotspotList.vue

+ 3 - 0
src/views/gui/CustomHotspotList.vue

@@ -45,6 +45,9 @@ export default {
       }, 300)
     }
   },
+  beforeDestroy() {
+    clearInterval(this.intervalId)
+  },
   methods: {
     openHot(hotspot) {
       // 停止自动导览