From e8a8d12db309f5858b70a0d39ee281429d24d463 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 3 Feb 2023 10:45:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qianxinan/AppSignIn/AppSignIn.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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() {