|
...
|
...
|
@@ -24,13 +24,13 @@ Component({ |
|
|
|
},
|
|
|
|
ready(){
|
|
|
|
this.editpeoplelist(this.data.count);
|
|
|
|
this.triggerEvent('selectpeople',this.data.count);
|
|
|
|
this.triggerEvent('selectpeople',{people:this.data.count,action:'defalut'});
|
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
selectpeople(e){
|
|
|
|
const target=e.currentTarget.dataset;
|
|
|
|
this.editpeoplelist(target.count);
|
|
|
|
this.triggerEvent('selectpeople',target.count);
|
|
|
|
this.triggerEvent('selectpeople',{people:target.count,action:'click'});
|
|
|
|
},
|
|
|
|
editpeoplelist(count){
|
|
|
|
let peoplelist=this.data.peoplelist,setdata={};
|
...
|
...
|
|