This commit is contained in:
shijingjing
2022-08-02 15:59:41 +08:00
parent 6c0e432455
commit 0c3d8d1d09

View File

@@ -198,7 +198,7 @@ export default {
},
// 提醒发送
remindSend() {
this.firstClickTime = new Date(this.detail.remindTime.replace(/-/g, "/")).getTime() || 0 ;
this.firstClickTime = new Date(this.detail.remindTime.replace(/-/g, "/")).getTime() || new Date(this.detail.remindTime).getTime() || 0 ;
this.currentClickTime = +new Date();
let time = this.currentClickTime - this.firstClickTime;
if (time >= 3600000) {