第一次提醒发送

This commit is contained in:
shijingjing
2022-08-02 11:08:56 +08:00
parent 03bd28eff7
commit 1e9726cbda

View File

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