diff --git a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue index 384d8873..564aeb81 100644 --- a/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue +++ b/src/project/saas/AppCooperationPropaganda/cooperationDetail.vue @@ -218,9 +218,8 @@ export default { this.firstClickTime = new Date(this.detail.remindTime).getTime() || ""; this.currentClickTime = +new Date(); let time = this.currentClickTime - this.firstClickTime; - if (time >= 60 * 60 * 1000 && this.flag) { + if (time >= 3600000 && this.flag) { console.log(time, 'time'); - console.log(60 * 60 * 1000, '60 * 60 * 1000'); console.log(this.flag, 'flag'); this.$http.post("/app/appmasssendingtask/remindSend", null, { params: { @@ -236,8 +235,8 @@ export default { }) .catch(() => {}); } else { - time = 60 * 60 * 1000 - time; - const min = Math.floor(time / 1000 / 60); // 分钟 + time = 3600000 - time; + const min = Math.floor(time / 60000); // 分钟 let second = Math.floor(time / 1000); // 秒 second %= 60; let msg = ``;