30599
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user