|
@@ -580,7 +580,7 @@ text-align: center;
|
|
|
let { data, code, msg } = result
|
|
let { data, code, msg } = result
|
|
|
if (code === 1) {
|
|
if (code === 1) {
|
|
|
this.lightData = data
|
|
this.lightData = data
|
|
|
- this.currentIndex = Math.ceil(this.lightData.wxcpLightenClientList.length / 5)
|
|
|
|
|
|
|
+ this.currentIndex = Math.ceil(this.lightData.wxcpLightenClientList.length / 5) ? Math.ceil(this.lightData.wxcpLightenClientList.length / 5) - 1 : 0
|
|
|
this.getChunkData = this.getChunk(this.lightData.wxcpLightenClientList, this.currentIndex)
|
|
this.getChunkData = this.getChunk(this.lightData.wxcpLightenClientList, this.currentIndex)
|
|
|
if (data.wxcpLighten.type === 2 && (!data.referrer || !data.referrerPhone)) {
|
|
if (data.wxcpLighten.type === 2 && (!data.referrer || !data.referrerPhone)) {
|
|
|
this.showDialog = true
|
|
this.showDialog = true
|