0👍
When you mounted you have this:
mounted () {axios.get(url).then(response=>{
console.log(response.data);
this.res=response.data;
});},
In your method you have:
greet: function (event) {
event.preventDefault();
axios.get(url).then(response=>{
console.log(response.data);
this.data=response.data;
});
Change this.data
to this.res
, because res
is your array variable.
- [Vuejs]-Auth0-js: UnauthorizedError: No authorization token was found, though logged in
- [Vuejs]-Pair key-value for filter using ag-grid
Source:stackexchange.com