Business scenario:
the problem of getting token when you click to log in. After logging in with token, load the dictionary coding table (token is required when loading the codemark table)
how to write the interceptor
main.js
debuggertokennullifelse ifeae007debugger~~
:login_axiosselect_code_axios
is there any problem with my writing like this? how can I improve it? And why debugging no matter what the value of eae007 will enter the judgment of if, but the condition is that false will also enter debugger.