CodePudding user response:
There are bosses knowCodePudding user response:
Can be, according to the scene to select,After login successfully, it is to jump to the same page, there is no special operation, that is forwarded directly;
According to different users have different needs after login successfully, operation or display, such as access control, etc., that requires the server to request it again after the return data
CodePudding user response:
Using ajax just looks harmonious some on the operation, the login fails, there is no page refresh operation,