S
S
Sectorrbs2021-09-27 14:33:07
Vue.js
Sectorrbs, 2021-09-27 14:33:07

How to extract data from the Proxy object?

I use Vue.js, I receive data from the server and assign it to a variable, hoping to then loop through this data received. But the variable after assignment looks like this.
6151abbe55d24657484970.png
6151abdb6ef4b675896250.png

How do I get an array of data from a proxy?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2021-09-27
@0xD34F Vue.js

In the same way, as if instead of a Proxy you had an original object (by the way, why didn't you try to do this - what, did you see this incomprehensible Proxy and get scared?).
Vue wraps the data in a Proxy to track changes .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question