如果是ios审核隐藏新人福利、看视频、分享奖励
This commit is contained in:
parent
1a1c583742
commit
299a340144
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue