I am trying to splice object from an array of list of object, passing an object index as the first argument splice(index, 1), but it results in the following error:
Cannot read property 'splice' of undefined.
this.MypostList is somehow evaluated empty in your code. So splice could not be executed on the empty object. Please put the code where you tried to evaluate this.MypostList
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With