登录问题
This commit is contained in:
@@ -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)
|
||||
})
|
||||
},
|
||||
// 今天的打卡状态
|
||||
|
||||
Reference in New Issue
Block a user