'autocomplete="off"'在Chrome中不起作用解决方案

381 阅读1分钟

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

2. 修改readonly属性

<input type="password" readonly οnfοcus="this.removeAttribute('readonly');"/>

转自: blog.csdn.net/xw505501936…