不废话,只说思路:
1、在a-input定义dom节点:cosnt descriptionDom = ref(null);
2、获取节点,调用focus()方法
ant-design a-input获取焦点focus()

ant-design a-input获取焦点focus()

相关文章: