pagekit / vue-resource

The HTTP client for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The field is converted to undefined

itldg opened this issue · comments

I have just touched and used this component.

I found a strange thing in use today.

I use get to request an interface

In the json object returned by, the result of the field named vendor is undefined

If you change the name or use json_decode, you can get the results normally.

I think this phenomenon is rather strange.

I entered the above words through translation, please understand.

We experienced a similar issue and realized that we had a Vue component which was accidentally mutating the store state because of an iterator which used = instead of === to check for equality.