fix:圣诞活动修改异步按钮逻辑
This commit is contained in:
parent
48038d1b07
commit
05368fc0de
@ -39,15 +39,14 @@ export default async function (call: ApiCall<ReqSyncBtn, ResSyncBtn>) {
|
||||
}
|
||||
break;
|
||||
case 'christmas':
|
||||
//领完消失
|
||||
if (!data[key]) {
|
||||
let _hdList = await HuoDongFun.gethdList(call, 8)
|
||||
if (_hdList) {
|
||||
// 无此活动
|
||||
data[key] = {active: true};
|
||||
change[key] = data[key];
|
||||
}
|
||||
}
|
||||
//领完消失
|
||||
change[key] = {active: false};
|
||||
let _hdList = await HuoDongFun.gethdList(call, 8)
|
||||
if (_hdList) {
|
||||
// 无此活动
|
||||
data[key] = {active: true};
|
||||
change[key] = data[key];
|
||||
}
|
||||
break;
|
||||
case 'dayjijin':
|
||||
case 'dengjijijin':
|
||||
|
Loading…
Reference in New Issue
Block a user