which of these two kinds of actual development is better?
if you submit the form, jump directly. If the login fails, you can only jump to the failed page or re-enter this page.
but for axios, you can judge whether to jump to the page based on the returned information, so axios is better
.