会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
贝合网
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
antdesign
阿里的前端框架
Ant Design Input 控件设置默认焦点
摘要:<Input ref={input => { input.input.setSelectionRange(0, input.state.value.length); // 选中内容 input.focus(); // 设置焦点 }} maxLength={9} />
阅读全文
posted @
2019-10-06 10:56
贝合网
阅读(5032)
评论(0)
推荐(0)