SoAanyip / React-FileUpload

Upload files async with xhr2 or iframe for IE. Supporting IE8+. React component.
310 stars 95 forks source link

报错:Element ref was specified as a string (ajax_upload_file_input) but no owner was set. #55

Open ldwstyle opened 6 years ago

ldwstyle commented 6 years ago

按照例子来报错,错误完整信息:Element ref was specified as a string (ajax_upload_file_input) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).

liusen259 commented 6 years ago

你的项目用的react版本和这个插件用的react版本不一致

kingfun2015 commented 6 years ago

@lysoft-liusen 那请问版本不一致,就用不了吗?有什么解决方案吗?

fmjfei commented 6 years ago

目前在用"react": "^16.4.1",也是报这个错。 不知大佬有没有意向解决这个BUG?

xc24495 commented 6 years ago

两年没更新啦,估计16版之后都不能用了,换插件把

xzessmedia commented 5 years ago

can you please speak at least english? we all are from different countries and we all use english as a fair compromise. using your native language is the same "not clever" / noobish indication as if you ask a question in a board and you get the solution and only answer to the thread "I got the answer" but don't share the solution. All this results in idiocy or idleness.. and it doesn't stand in any way to a professional

kingfun2015 commented 5 years ago

can you please speak at least english? we all are from different countries and we all use english as a fair compromise. using your native language is the same "not clever" / noobish indication as if you ask a question in a board and you get the solution and only answer to the thread "I got the answer" but don't share the solution. All this results in idiocy or idleness.. and it doesn't stand in any way to a professional

ok,I see.But My english is not good.Try my best to speak.