Authored by lea guo

yohood抽奖

... ... @@ -342,7 +342,11 @@ Page(
const formatTimeList = fomartCountdownTime(remaining);
const isCountdownEnd = formatTimeList.join('') === '000000';
if (isCountdownEnd) {
this.changeActionStatus();
// 延时500毫秒调接口
const timeId = setTimeout(()=> {
this.changeActionStatus();
clearTimeout(timeId)
},500)
clearInterval(timeoutId);
}
this.setData({
... ...