关闭 chrome 自动填充

<input name="uname" type="text" required autocomplete="off" class="form-control" required=""  placeholder="使用用户名+密码登陆">

<input name="password" type="password"  autocomplete="new-password" required="" class="form-control"   placeholder="登录密码">

在用户名那里添加  autocomplete="off" ,
在密码那里添加   autocomplete="new-password" 

或者在 第一行 添加 也可以。就是第一个 元素上 加入
autocomplete="off"

原文地址:https://www.cnblogs.com/whm-blog/p/7232435.html