问题描述:https://blog.csdn.net/weixin_41196185/article/details/80840657
我实现的效果:密码不会被自动填充,获得焦点时展示浏览器保存账号的下拉框选项


此处输入账号和密码处的代码:
<input type="text" class="fm-text" name="uid" autocomplete="new-password" autocorrect="off" autocapitalize="off"
id="uid" tabindex="1" placeholder="请输入账号" value="" v-model="user" @change="changeUser">
<input type="password" class="fm-text" name="password" autocomplete="new-password" autocorrect="off" autocapitalize="off"
id="password" placeholder="请输入密码" tabindex="2" value="" v-model="password">
网友评论