去掉防抖
This commit is contained in:
@@ -123,7 +123,6 @@ export default {
|
|||||||
current: 1,
|
current: 1,
|
||||||
firstClickTime: "",
|
firstClickTime: "",
|
||||||
currentClickTime: "",
|
currentClickTime: "",
|
||||||
flag: false,
|
|
||||||
detail: {},
|
detail: {},
|
||||||
|
|
||||||
subsection0: [
|
subsection0: [
|
||||||
@@ -199,7 +198,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 提醒发送
|
// 提醒发送
|
||||||
remindSend() {
|
remindSend() {
|
||||||
if(this.flag) return
|
|
||||||
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;
|
||||||
@@ -212,7 +210,6 @@ export default {
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$u.toast("已提醒成员发送");
|
this.$u.toast("已提醒成员发送");
|
||||||
this.flag = true;
|
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user