签到页面优化
parent
a0e981e6d9
commit
323e0fb3e0
|
@ -79,7 +79,8 @@
|
||||||
if(res.code==0){
|
if(res.code==0){
|
||||||
this.signList = res.data.week;
|
this.signList = res.data.week;
|
||||||
this.signText = ['签到','已签到'][res.data.today_sign];
|
this.signText = ['签到','已签到'][res.data.today_sign];
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
// 获取签到记录
|
||||||
this.getSignList();
|
this.getSignList();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -96,8 +97,9 @@
|
||||||
if(res.code==0){
|
if(res.code==0){
|
||||||
this.signText = "已签到";
|
this.signText = "已签到";
|
||||||
this.$refs.refFrame.ifLogistics = true;
|
this.$refs.refFrame.ifLogistics = true;
|
||||||
this.$refs.refFrame.ifAnimated = true;
|
this.$refs.refFrame.ifAnimated = true;
|
||||||
this.getSignList();
|
// 获取签到信息
|
||||||
|
this.getSignInfo();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue