登录问题

This commit is contained in:
shijingjing
2023-02-08 10:05:04 +08:00
parent e9868d18f7
commit 7e89db7f20

View File

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