1👍
✅
Any particular reason why you are awaiting res.data
? You’re already awaiting the api call response above. I believe removing the await in front of res.data
should fix your issue.
change this line:
this.rows = await res.data
to this:
this.rows = res.data
This is assuming that res.data
is exactly the array you’re expecting. and not nested in another object property.
Also in your template you should use rows
not row
Source:stackexchange.com