30599
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
|||||||
this.firstClickTime = this.firstClickTime || +new Date();
|
this.firstClickTime = this.firstClickTime || +new Date();
|
||||||
this.currentClickTime = +new Date();
|
this.currentClickTime = +new Date();
|
||||||
let time = this.currentClickTime - this.firstClickTime;
|
let time = this.currentClickTime - this.firstClickTime;
|
||||||
if (time >= 60 * 60 * 1000 || this.flag) {
|
if (time >= 60 * 60 * 1000 && this.flag) {
|
||||||
this.$http
|
this.$http
|
||||||
.post("/app/appmasssendingtask/remindSend", null, {
|
.post("/app/appmasssendingtask/remindSend", null, {
|
||||||
params: {
|
params: {
|
||||||
@@ -159,9 +159,10 @@ export default {
|
|||||||
.catch(() => {
|
.catch(() => {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
console.log(111);
|
||||||
time = 60 * 60 * 1000 - time;
|
time = 60 * 60 * 1000 - time;
|
||||||
const min = Math.floor(time / 1000 / 60); // 分钟
|
const min = Math.floor(time / 1000 / 60); // 分钟
|
||||||
const second = Math.floor(time / 1000);
|
let second = Math.floor(time / 1000); // 秒
|
||||||
second %= 60;
|
second %= 60;
|
||||||
let msg = ``;
|
let msg = ``;
|
||||||
if (min > 0 && second > 0) {
|
if (min > 0 && second > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user