It is difficult to remember the password when logging in the vue project.

that is, now I click to remember the password and the information will be stored in the local storage
now there is a requirement that when I click to remember the password, the next time I click on the login page, the password is checked by default, and then I don"t want to remember the password. If I click to remember the password, if I check it out, I don"t remember the password. What should I do illogically?

Dec.02,2021

whether you remember the password or unremember the password, it should be the operation after the login is successful
login is successful. If checked, the local storage is written, and the
login is successful. If it is not checked, the local storage is reset.


you just need to clear the stored password. What kind of logic is that?

Menu