setSelectionRange方法解决光标错位问题

inputElement.setSelectionRange(value.length, value.length); 
posted @ 2018-10-10 18:03  小小公举  阅读(1461)  评论(0编辑  收藏  举报