flag
This commit is contained in:
@@ -74,11 +74,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 打卡
|
// 打卡
|
||||||
signIn() {
|
signIn() {
|
||||||
if(this.flag) return
|
if(this.flag) return;
|
||||||
|
this.flag = true;
|
||||||
|
|
||||||
this.flag = true
|
|
||||||
this.$http.post(`/api/appwechatsigninfo/sign`).then(res=> {
|
this.$http.post(`/api/appwechatsigninfo/sign`).then(res=> {
|
||||||
if(res.code == 0) {
|
if(res.code == 0) {
|
||||||
|
this.flag = false;
|
||||||
this.$u.toast(`打卡成功`)
|
this.$u.toast(`打卡成功`)
|
||||||
this.getToday()
|
this.getToday()
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user