Use the VUE to add a list of list data and delete the list data according to the status.

  {{Obj.Name}}  + 
- {{Obj}}

Export Default {Methods: {SEL (OBJ) {Obj.select =! Obj.select if (obj.select) {this.temp.push (obj)} Else {Obj.select =! obj.select}}, cel (obj, index) {obj.select =! obj.select; console.log (index) this.temp.splice (index, 1);}}, DATA ) {RETURN {TEMP: [], A: [{“Code”: “1”, “name”: “1”: 8, “RegionID”: Null, “Blockid”: null, “cityname” : NULL, “RegionName”: Null, “Blockname”: Null, “Address”: “No. 216” Lane 216, “Buildingnum”: Null, “UnitNum”: Null, “CompletetiMe “: NULL,” Developer “: NULL,” ID “: NULL,” Pinyin “: Null,” PinyInfirst “: Null,” PinyInshort “: null, select: false}, {SELECT: FALSE,” CODE “:” 2 “,” Name “:” 2 “: 8,” RegionID “: NULL,” BLOCKID “: Null,” CityName “: Null,” RegionName “: null,” blockname “: null,” address “: NULL,” Address ” : “No. 216,” Buildingnum “: NULL,” UnitNum “: Null,” HouseNum “: Null,” CompleteTime “: Null,” Developer “: Null,” ID “: null,” Pinyin “: null: NULL , “PinyInfirst”: Null, “PinyInsh”: null}, {SELECT: FALSE, “CODE”: “3”, “Name”: “3”, “CityID”: 8, “RegionID”: null, “blockid” : NULL, “CityName”: Null, “RegionName”: Null, “BLOCKNAME”: NULL, “Address”: “No. 216”, “BUILDINGNUM”: Null, “UnitNum”: null, “housenum”: null “COMPLETETIME “: NULL,” Developer “: NULL,” Id “: Null,” Pinyin “: Null,” PinyInfirst “: Null,” PinyInShort “: null}],}}}
   The above uses Vue to add list data and delete list data, which is the full content of Xiaobian sharing, I hope I can give you a reference, I also hope that everyone will support Tumi Cloud.                      
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment