如果是ios审核隐藏新人福利、看视频、分享奖励

This commit is contained in:
duan 2025-01-06 16:21:29 +08:00
parent 1a1c583742
commit 299a340144
1 changed files with 8 additions and 8 deletions

View File

@ -459,15 +459,15 @@
this.$Request.getT('/app/taskCenter/selectTaskCenter', {}).then(res => {
if (res.code == 0) {
console.log(this.isShowMoneyPay,'debug2')
if (!this.isShowMoneyPay) {
// let arr =['','','']
if (res.data[0].title == '分享奖励') {
res.data.shift()
this.list = res.data
} else {
this.list = res.data
}
let arrData = []
res.data.forEach(ele => {
if (ele.title.indexOf('分享奖励') == -1 && ele.title.indexOf('新人福利') == -1 &&
ele.title.indexOf('观看视频奖励') == -1) {
arrData.push(ele)
}
})
this.list = arrData
} else {
this.list = res.data
}