Vue manual refresh page token invalidation will only be valid if you re-enter here

when I enter from a to b, when I click normally, token is normal

.

but when I refresh the page manually, the token will fail, the data will not be normal, and an error of 419

will be reported.

the reason I know so far is that when I refresh manually, when post gets the data, it will get token, earlier, so this reason appears

clipboard.png

ps:token

clipboard.png

Mar.14,2021

. Store the acquired token locally, and request the local token each time

Menu