diff --git a/src/project/qianxinan/AppSignIn/AppSignIn.vue b/src/project/qianxinan/AppSignIn/AppSignIn.vue index 56e77782..910797f3 100644 --- a/src/project/qianxinan/AppSignIn/AppSignIn.vue +++ b/src/project/qianxinan/AppSignIn/AppSignIn.vue @@ -14,7 +14,7 @@
-
签到
+
{{ status==1? '已签到':'签到'}}
{{ time }}
@@ -56,16 +56,16 @@ export default { }, // 签到 signIn() { - if(this.status == 1) return - + if(this.status == 1) { + return this.$u.toast("已签到,请勿重复签到!") + } this.$http.post(`/api/appwechatsigninfo/sign`).then(res=> { if(res.code == 0) { - this.$confirm('签到成功!').then(() => { - this.getToday() - this.getList() - }) + this.$u.toast(`签到成功`) + this.getToday() + this.getList() } - }).finally(err=> console.log(err)) + }).catch(err=> console.log(err)) } }, onReachBottom() {