只需要在input失去焦点事件中再次添加焦点就可以保证永永远不失去焦点了
例如vue中
<input @blur="e => e.target.focus()" />
只需要在input失去焦点事件中再次添加焦点就可以保证永永远不失去焦点了
例如vue中
<input @blur="e => e.target.focus()" />
相关文章: