From cdaaa0c5d12694a3b8704f8c6190525920a491fb Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 27 Jul 2022 10:39:08 +0800 Subject: [PATCH] 30599 --- .../saas/AppCooperationPropaganda/cooperationDetail.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 49080a51..8b3e92b6 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -143,7 +143,7 @@ export default { this.firstClickTime = this.firstClickTime || +new Date(); this.currentClickTime = +new Date(); let time = this.currentClickTime - this.firstClickTime; - if (time >= 60 * 60 * 1000 || this.flag) { + if (time >= 60 * 60 * 1000 && this.flag) { this.$http .post("/app/appmasssendingtask/remindSend", null, { params: { @@ -159,9 +159,10 @@ export default { .catch(() => { }); } else { + console.log(111); time = 60 * 60 * 1000 - time; const min = Math.floor(time / 1000 / 60); // 分钟 - const second = Math.floor(time / 1000); + let second = Math.floor(time / 1000); // 秒 second %= 60; let msg = ``; if (min > 0 && second > 0) {