通过添加readonly&onfocus =“this.removeAttribute('readonly');
解决了这个问题。
<input type="password" name="Password" autocomplete="off" readonly
onfocus="this.removeAttribute('readonly');" >
解决input type=password在浏览器会自动填充密码的问题
最新推荐文章于 2024-05-23 13:52:48 发布