var people ={id:this.id , name:this.id},this.list.push(people),this.id=this.name=''这个东西怎么错了
this.id=this.name='' 不能这样写 分开写