邀请页面更新,抽奖优化,提现列表文字优化
This commit is contained in:
@@ -440,16 +440,18 @@
|
||||
this.result=''
|
||||
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###')
|
||||
const res = await this.$Request.getT('app/discSpinning/draw',{source:this.source})
|
||||
this.freeNum--
|
||||
// this.getCount()
|
||||
console.log(res);
|
||||
if (res.code != 0) {
|
||||
this.prizeing = false
|
||||
return uni.showToast({
|
||||
title: res.msg
|
||||
title: res.msg||'请求抽奖失败',
|
||||
icon:'none'
|
||||
})
|
||||
}
|
||||
this.freeNum--
|
||||
this.result=res.data
|
||||
|
||||
|
||||
let list = [...this.prizeList]
|
||||
// 这里随机产生的 prizeId 是模拟后端返回的 prizeId
|
||||
const arr=list.filter(v=>v.type==res.data.type&&res.data.name==v.name)
|
||||
|
||||
Reference in New Issue
Block a user