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) }) }, // 今天的打卡状态