Sfoglia il codice sorgente

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

任一存 2 anni fa
parent
commit
1fecf56daf
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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) {
       // 停止自动导览