摘要: 1、第一步,密码框只读属性为true e.target.readOnly = true; 2、第二步,立马设为false。 setTimeout(() => { e.target.readOnly = false; }, 0); 即可跳过浏览器自带密码提示框 思路:鼠标点击或者获得焦点事件执行。 阅读全文
posted @ 2025-09-18 14:05 Code麒麟 阅读(22) 评论(0) 推荐(0)