Vue debugging problem

clipboard.png

as shown in the figure, this actually refers to data in vue, and the actual result is also correct, but when debugging at F12 breakpoint, what is shown here is undefined . Can vue only be debugged with console.log ? Are there any plug-ins or other solutions?

(see comments some people say that assigning this to that before axios, is there any other solution or tool plug-in? Because in fact, there is no problem with this way of writing as shown in the figure, but it is not very good when debugging. )

Jul.04,2022

write let that = this
before axios. Your this here is written as that

what do you mean, read the comments and say it's just me

https://github.com/vuejs/vue-...
this is the debugging tool of VUE official website

Menu