- 发布:2020-02-07 08:58
- 更新:2020-03-11 11:04
- 阅读:2536
我也遇到这个问题了,我的解决办法是在当前的form表单里 密码的input下方添加一个空的密码类型的input :
<input id='iOS' type="password" style="width:0; height:0;">
这样就不会再展示密码框了
我用的mui框架:
<form id='login-form' class="mui-input-group">
<div class="mui-input-row">
<label>
<img id='accountImg' src="../img/ico_mobile_unsel.png" width="12"/>
</label>
<input id='account' type="tel" class="mui-input-clear mui-input"
placeholder="请输入手机号码"
maxlength="16"
required="required">
</div>
<div class="mui-input-row mui-password">
<label>
<img id='passwordImg' src="../img/login_psw_icon_unsel.png" width="12"/>
</label>
<input id='password' type="password" class="mui-input-clear mui-input"
placeholder="请输入密码"
maxlength="16"
required="required">
<input id='iOS' type="password" style="width:0; height:0;">
</div>
</form>