in the login screen: enter the account password to adjust the login interface to the backend, and the backend sets a cookie with the key of userInfo.
but here comes the problem.
in the vue project, in the locally launched server, the cookie, of userInfo is not available when you log in, but it is packaged and put on the test server, and the userInfo is available when you log in.
I would like to ask the bosses, what is the problem?
Boss, help me quickly, or the back end will fight me.