We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码自动设置焦点
<t-input-number ref="input" /> const input = ref(); onMounted(() => { input.value.focus(); // 允许设置焦点 })
The text was updated successfully, but these errors were encountered:
👋 @Alsmile,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
可以先通过设置 :input-props="{ autofocus: true }" 来达到这个效果,这个需求移至 #848 这边统一管理,本issue暂时关闭
No branches or pull requests
这个功能解决了什么问题
代码自动设置焦点
你建议的方案是什么
The text was updated successfully, but these errors were encountered: