摘要: 让input一直保持聚焦只需要在input失去焦点事件中再次添加焦点就可以保证永永远不失去焦点了 // 原生js <input onblur="this.focus()" /> // vue中 <input @blur="$event.target.focus()" /> 让input聚焦全选 // 阅读全文
posted @ 2021-12-06 16:43 lwlcode 阅读(2966) 评论(0) 推荐(1) 编辑