试了好几个方法,有效的已经标记出来了
1.<input type="password" readonly οnfοcus="this.removeAttribute('readonly')" value="" autocomplete="off" />
2.<input type="password" id="password" autoComplete="new-password" />
3.<input className="in_text" type="text" name="password" οnfοcus="this.type='password'" autocomplete="off" id="password" /> -----亲测有效
这篇笔记作为记住密码功能的记录积累,后面可能会更新