this.CoIsignedListUID is undefined
perhaps because this not this , which in your opinion
you have to do
var _this = this
out of function and then
_this.CoIsignedListUID.push(detail.uID);
Alternatively, you can use the ES2015 arrow syntax.
Instead:
.then(function (response) {}
Using:
.then((response) => {}
'this' is now available inside the function, so there is no need to create a new variable. Full description here .
source share