vue-resource icon indicating copy to clipboard operation
vue-resource copied to clipboard

The field is converted to undefined

Open itldg opened this issue 3 years ago • 1 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.

itldg avatar Dec 27 '21 01:12 itldg

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.

axelkennedal avatar Jan 21 '22 09:01 axelkennedal