瀏覽代碼

关闭清除计时器

natasha 1 年之前
父節點
當前提交
1b46562ce6
共有 1 個文件被更改,包括 1 次插入0 次删除
  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")
     },
     // 兑换