From 7398557d6b8dc4f5ca72d6dddbbcc22cae637852 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 9 Feb 2023 17:35:14 +0800 Subject: [PATCH] flag --- src/project/tongren/AppSignIn/AppSignIn.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/project/tongren/AppSignIn/AppSignIn.vue b/src/project/tongren/AppSignIn/AppSignIn.vue index d79c22c7..e85ebd5c 100644 --- a/src/project/tongren/AppSignIn/AppSignIn.vue +++ b/src/project/tongren/AppSignIn/AppSignIn.vue @@ -82,8 +82,14 @@ export default { this.$u.toast(`打卡成功`) this.getToday() this.getList() + } else { + this.flag = false + this.$u.toast(res.msg) } - }).catch(err=> this.$u.toast(err)) + }).catch(err=> { + this.flag = false + this.$u.toast(err) + }) } }, onShow() { @@ -101,7 +107,7 @@ export default {