|
@@ -134,9 +134,8 @@
|
|
item.picUrl = env.filePublic + picUrlArr[0] + '?imageView2/2/w/340'
|
|
item.picUrl = env.filePublic + picUrlArr[0] + '?imageView2/2/w/340'
|
|
item.prizeType = JSON.parse(item.prizeType)
|
|
item.prizeType = JSON.parse(item.prizeType)
|
|
})
|
|
})
|
|
- this.prizeList = res.data.prizeList
|
|
|
|
- if(this.prizeList.length == 1) {
|
|
|
|
- let item = this.prizeList[this.actionIndex]
|
|
|
|
|
|
+ if(res.data.prizeList.length == 1) {
|
|
|
|
+ let item = res.data.prizeList[this.actionIndex]
|
|
this.actionInfo = item
|
|
this.actionInfo = item
|
|
$http.post('/api/v1/mp/user/ticket/cashPrize', {
|
|
$http.post('/api/v1/mp/user/ticket/cashPrize', {
|
|
ticketId: this.ticketId,
|
|
ticketId: this.ticketId,
|
|
@@ -147,9 +146,11 @@
|
|
this.comfirmShow = true
|
|
this.comfirmShow = true
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ return
|
|
}
|
|
}
|
|
this.ticketId = res.data.ticketId
|
|
this.ticketId = res.data.ticketId
|
|
this.total = this.prizeList.length
|
|
this.total = this.prizeList.length
|
|
|
|
+ this.prizeList = res.data.prizeList
|
|
} else if (res.code == 1018) {
|
|
} else if (res.code == 1018) {
|
|
this.tipShow = true
|
|
this.tipShow = true
|
|
} else {
|
|
} else {
|