From 440fa88018c83f11a70358e06a315e0073cea23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 16 Oct 2023 17:29:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project/projectDetail.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index 4a82458d..37cd43d5 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -272,7 +272,7 @@ export default { process:"", tip:"", btnMsg:"", - time:10000, + time:null, timeMsg:"", isSignup:false, showBtn:false, @@ -947,9 +947,10 @@ export default { clearInterval(this.timer) }, //离开页面清除定时器失效问题 - beforeRouteLeave (to, from, next) { + beforeRouteLeave(to, from, next) { console.log("我离开了") clearInterval(this.timer) + this.time = null; next() } };