fix:圣诞活动修改异步按钮逻辑

This commit is contained in:
yushunrui 2023-12-20 18:56:40 +08:00 committed by dy
parent 48038d1b07
commit 05368fc0de

View File

@ -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':