Selaa lähdekoodia

关闭清除计时器

natasha 1 vuosi sitten
vanhempi
commit
1b46562ce6
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/views/bookShelf/components/Payment.vue

+ 1 - 0
src/views/bookShelf/components/Payment.vue

@@ -138,6 +138,7 @@ export default {
         }, 1000);
     },
     closeDialogue(){
+        clearInterval(this.timer);
         this.$emit("handleClose")
     },
     // 兑换