This commit is contained in:
liuye
2023-02-03 17:54:23 +08:00
parent 01dd997c73
commit 6a5264240c

View File

@@ -275,7 +275,7 @@ export default {
res.data.map((item, index) => {
textList[index] = `${this.geTel(res.data[index].phone)}用户获得${res.data[index].prizeName}`
})
if(textList.length > 10) {
if(textList.length > 2) {
var num = Math.floor(textList.length/3)
this.luckyList = textList.slice(0, num)
this.luckyList2 = textList.slice(num, num*2)