css
This commit is contained in:
@@ -275,7 +275,7 @@ export default {
|
|||||||
res.data.map((item, index) => {
|
res.data.map((item, index) => {
|
||||||
textList[index] = `${this.geTel(res.data[index].phone)}用户获得${res.data[index].prizeName}`
|
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)
|
var num = Math.floor(textList.length/3)
|
||||||
this.luckyList = textList.slice(0, num)
|
this.luckyList = textList.slice(0, num)
|
||||||
this.luckyList2 = textList.slice(num, num*2)
|
this.luckyList2 = textList.slice(num, num*2)
|
||||||
|
|||||||
Reference in New Issue
Block a user