Commit 436e9ec060f67638110cafaad77f6dfeb4518263

Authored by liuxuqinfhp1220
1 parent 13e92a61

no message

@@ -12,7 +12,7 @@ Component({ @@ -12,7 +12,7 @@ Component({
12 }, 12 },
13 attached(){ 13 attached(){
14 let peoplelist=[] 14 let peoplelist=[]
15 - for(let i=0;i<=Math.ceil((30-4)/5);i++){ 15 + for(let i=0;i<Math.ceil((30-4)/5);i++){
16 peoplelist.push({ 16 peoplelist.push({
17 list:[] 17 list:[]
18 }) 18 })
@@ -28,6 +28,7 @@ Component({ @@ -28,6 +28,7 @@ Component({
28 this.setData({ 28 this.setData({
29 peoplelist:peoplelist 29 peoplelist:peoplelist
30 }) 30 })
  31 + console.log(peoplelist)
31 }, 32 },
32 ready(){ 33 ready(){
33 this.editpeoplelist(this.data.count); 34 this.editpeoplelist(this.data.count);