Create an array
dynamically add data
Adding data in the array
to append data to the end of the array
Dynamic data deleted
index values start to delete incoming data in the specified array 1 represents the position of the current incoming value.
If the incoming data 2 saves the current incoming data in the array matches the next data also deleted deleted
this.addresource.splice (this.addresource.indexOf (data), 1 );
renderings: 1 Incoming
Renderings: Incoming 2