第一次提醒发送
This commit is contained in:
@@ -198,7 +198,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提醒发送
|
// 提醒发送
|
||||||
remindSend() {
|
remindSend() {
|
||||||
this.firstClickTime = new Date(this.detail.remindTime).getTime() || "";
|
this.firstClickTime = new Date(this.detail.remindTime).getTime();
|
||||||
this.currentClickTime = +new Date();
|
this.currentClickTime = +new Date();
|
||||||
let time = this.currentClickTime - this.firstClickTime;
|
let time = this.currentClickTime - this.firstClickTime;
|
||||||
if (time >= 3600000) {
|
if (time >= 3600000) {
|
||||||
@@ -227,16 +227,10 @@ export default {
|
|||||||
} else if (min <= 0 && second > 0) {
|
} else if (min <= 0 && second > 0) {
|
||||||
msg = `${second}秒后可以再次点击`;
|
msg = `${second}秒后可以再次点击`;
|
||||||
}
|
}
|
||||||
setTimeout(()=> {
|
this.$u.toast(msg);
|
||||||
this.$u.toast(msg);
|
|
||||||
}, 600)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 切换分段器
|
// 切换分段器
|
||||||
// changeSub(index) {
|
|
||||||
// this.subIndex = index;
|
|
||||||
// this.getStatistics();
|
|
||||||
// },
|
|
||||||
changeSub0(index) {
|
changeSub0(index) {
|
||||||
this.subIndex0 = index;
|
this.subIndex0 = index;
|
||||||
this.getStatistics();
|
this.getStatistics();
|
||||||
|
|||||||
Reference in New Issue
Block a user