changeData(){ var self = this; for(var i in self.data){ if (self.data[i].name == "所有"){ self.data.splice(i,1); } } }