From 7e89db7f20389013ff136f8d0e6e94b1e2090c60 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 8 Feb 2023 10:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qianxinan/AppSignIn/AppSignIn.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/project/qianxinan/AppSignIn/AppSignIn.vue b/src/project/qianxinan/AppSignIn/AppSignIn.vue index 23a65a22..0d8ba2d1 100644 --- a/src/project/qianxinan/AppSignIn/AppSignIn.vue +++ b/src/project/qianxinan/AppSignIn/AppSignIn.vue @@ -41,10 +41,16 @@ export default { }, methods: { getList() { - this.$http.post(`/api/appwechatsigninfo/listByWxUserId?current=${this.current}&size=3000`).then(res=> { + this.$http.post(`/api/appwechatsigninfo/listByWxUserId?current=${this.current}&size=3000`,null, {alwaysReturn: true}).then(res=> { if(res?.data?.records) { this.signlist = res.data.records + } else if(res.code == 401) { + this.$confirm('您尚未登录,请重新登录').then(() => { + this.$store.commit('goAuth') + }) } + }).catch((err) => { + this.$u.toast(err) }) }, // 今天的打卡状态