Commit 3cb92d48d257fdbff8212ef8146b4f3f487f13f6

Authored by liuxuqinfhp1220
1 parent 8bdbe503

no message

@@ -24,13 +24,13 @@ Component({ @@ -24,13 +24,13 @@ Component({
24 }, 24 },
25 ready(){ 25 ready(){
26 this.editpeoplelist(this.data.count); 26 this.editpeoplelist(this.data.count);
27 - this.triggerEvent('selectpeople',this.data.count); 27 + this.triggerEvent('selectpeople',{people:this.data.count,action:'defalut'});
28 }, 28 },
29 methods:{ 29 methods:{
30 selectpeople(e){ 30 selectpeople(e){
31 const target=e.currentTarget.dataset; 31 const target=e.currentTarget.dataset;
32 this.editpeoplelist(target.count); 32 this.editpeoplelist(target.count);
33 - this.triggerEvent('selectpeople',target.count); 33 + this.triggerEvent('selectpeople',{people:target.count,action:'click'});
34 }, 34 },
35 editpeoplelist(count){ 35 editpeoplelist(count){
36 let peoplelist=this.data.peoplelist,setdata={}; 36 let peoplelist=this.data.peoplelist,setdata={};