分享网上的2种办法:
1-可以在不需要默认填写的input框中设置 autocomplete="new-password"
网上咱没有找到对其详细解释,但是发现163邮箱的登录注册是这么用的,
2-在会自动填充内容的input前添加一个隐藏的input type="password":
<input type="password" style="display: none"> <!-- 用于禁止浏览器自动填充的 -->
参考网址:
https://blog.csdn.net/xw505501936/article/details/52129579
如对本文有疑问, 点击进行留言回复!!
网友评论