componentDidMount kann den echten Dom abrufen, aber Trigger('click') schlägt immer noch fehl. Gibt es jemanden, der es lösen kann?
我测试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.