input带出-账号-密码解决方法
- 常用 1
.is-hidden {
position: absolute;
left: -10000px;
top: -10000px;
}
让input看不见,而不是直接display: none,如果直接display: none,有些浏览器则不生效,比如谷歌
<input type="text" class="is-hidden" />
<input type="password" class="is-hidden" />
- 常用2
- 修改readonly属性
<input type="password" readonly onfocus="this.removeAttribute('readonly');"/>
<el-input readonly onfocus="removeAttribute('readonly')">
可以的大家点点关注-总结不易谢谢大家-也可以留言需要哪类的我也可以尝试