Google Chrome 60.0.3112.90 VueJS response.data error

I am using VueJS and a package $http

to call an API to my site. However, it looks like in Google Chrome 60.0.3112.90 the property data

of the Response object no longer parses the received JSON and returns a string instead.

Is this a bug in Google Chrome? Yesterday the site worked fine and without any changes, not a single ajax call is working today. I can only assume its a newer version of Chrome, since the latest FireFox works just fine.

Has anyone else experienced this?

+3


source to share


1 answer


After some additional digging, it vue-resource

doesn't seem to handle http inline headers. I fixed the problem using the interceptor at the following link:

https://github.com/pagekit/vue-resource/issues/314



Hope this helps someone else with the same / similar problems

+5


source







All Articles