background:
vue project stores an object acquired through the interface in vueX
after entering page A, console.log (vueX object) is normally available for output
but after pressing F5 or refreshing the page with a browser, console outputs an empty
.but if you use the route refresh method console can be output
The method ofoutput is written in the created hook function
what"s the difference between these two refreshes? in addition, if you want to monitor vuex, it"s best to listen
.