Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -31,7 +31,11 @@ Component({ | @@ -31,7 +31,11 @@ Component({ | ||
| 31 | } | 31 | } |
| 32 | }) | 32 | }) |
| 33 | }else{ | 33 | }else{ |
| 34 | - seletroomlist.push(_target); | 34 | + let obj={ |
| 35 | + id:_target.id, | ||
| 36 | + name:_target.name | ||
| 37 | + } | ||
| 38 | + seletroomlist.push(obj); | ||
| 35 | } | 39 | } |
| 36 | this.setData({ | 40 | this.setData({ |
| 37 | seletroomlist:this.data.seletroomlist | 41 | seletroomlist:this.data.seletroomlist |
-
Please register or login to post a comment