diff --git a/src/project/tongren/AppSignIn/AppSignIn.vue b/src/project/tongren/AppSignIn/AppSignIn.vue index e85ebd5c..4d6483b1 100644 --- a/src/project/tongren/AppSignIn/AppSignIn.vue +++ b/src/project/tongren/AppSignIn/AppSignIn.vue @@ -74,11 +74,12 @@ export default { }, // 打卡 signIn() { - if(this.flag) return + if(this.flag) return; + this.flag = true; - this.flag = true this.$http.post(`/api/appwechatsigninfo/sign`).then(res=> { if(res.code == 0) { + this.flag = false; this.$u.toast(`打卡成功`) this.getToday() this.getList()