0
Try
response = JSON.parse(response);
Because according to error response is string not JSON.
- [Vuejs]-V-model on a newly created property?
- [Vuejs]-Vue.js pass data to route using beforeRouteUpdate
Source:stackexchange.com
0
Try
response = JSON.parse(response);
Because according to error response is string not JSON.