1、签到的逻辑更改:在打开签到成功的弹框是时就调接口,而不是在弹框确认按钮时才调用接口
This commit is contained in:
parent
008f0505d6
commit
afb770576e
@ -293,18 +293,20 @@
|
||||
if (code === 1) {
|
||||
state.showModel = true;
|
||||
state.signin = data;
|
||||
// getData();
|
||||
getData();
|
||||
}
|
||||
}
|
||||
|
||||
function onShowRetroactive(e) {
|
||||
state.showRetroactive = true;
|
||||
state.date = e;
|
||||
//暂时没有补签的活动,所以先于签到的逻辑保持一致
|
||||
getData();
|
||||
}
|
||||
//签到确认刷新页面
|
||||
function onConfirm() {
|
||||
state.showModel = false;
|
||||
getData();
|
||||
// getData();
|
||||
}
|
||||
//补签
|
||||
async function onRetroactive() {
|
||||
@ -316,7 +318,7 @@
|
||||
});
|
||||
if (code === 1) {
|
||||
state.showRetroactive = false;
|
||||
getData();
|
||||
// getData();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user