bootstrap解决浏览器会自动填充密码的问题

当浏览器保存一个用户的密码后,form表单里面的type=password的input会自动填充已经保存的用户名密码,解决方法为:

在不需要默认填写的input框中设置 autocomplete="new-password"

猜你喜欢

转载自blog.csdn.net/wangchaox123/article/details/89632555