84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
componentDidMount能获取到真实Dom,但trigger('click')还是失效,有没有大神能解决!
我测试input text,$('').focus是有效的,input file无效,问题应该是浏览器做了安全限制。This is due to a security restriction.Most browsers prevent submitting files when the input field didn't receive a direct click or keyboard click event as a security precaution.
我测试input text,$('').focus是有效的,input file无效,问题应该是浏览器做了安全限制。
This is due to a security restriction.Most browsers prevent submitting files when the input field didn't receive a direct click or keyboard click event as a security precaution.