设置el-input框的autocomplete属性,如果type不等于password,则设置为“off”,password框设置为“new-password”。 如果依然不成功,需要手动把原来浏览器保存的密码移出掉,测试成功即可。