I encapsulate all interface requests under model/api.js and make axios requests in api.js. One of the error codes in the return of the request is that it is not logged in. I need to log in in a pop-up window in this case.
excuse me, how can I realize this pop-up window?
if the pop-up window is written in main.vue, then I need to modify main.vue "s data
or this data is vuex"s store, in api.js, then I need to modify store
in api.js. Is there any good way or example? Thank you, the boss of sf