From f794bc6ab037b92d84aa7f5f7296c72b92e1e20b Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 28 Jul 2022 14:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/sass/apps/Announce/AppAnnounce/components/Detail.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue index da32ef14..83e4a50f 100644 --- a/project/sass/apps/Announce/AppAnnounce/components/Detail.vue +++ b/project/sass/apps/Announce/AppAnnounce/components/Detail.vue @@ -388,13 +388,12 @@ const nowTime = this.$moment(new Date()) const min = nowTime.diff(this.info.remindTime, 'minute') this.min = (60 - min) - console.log(nowTime.diff(this.info.remindTime, 'minute')) if (this.min <= 0) { this.isDisabled = false + clearInterval(this.timer) } else { this.isDisabled = true - clearInterval(this.timer) } }, 1000) },