【发布时间】:2017-09-27 07:07:31
【问题描述】:
<div className="mb-1">
Image <span className="font-css top">*</span>
<div className="">
<input type="file" id="file-input" name="ImageStyle"/>
</div>
</div>
这是我提供的 sn-p,用于在 react js 中从设备中选择文件, 使用它我可以选择文件并且该文件名也显示出来 我现在想要的是将此文件存储在 S3 或任何地方并从那里获取其 URL 并使用 fetch api 调用将其发布到我的服务器。
【问题讨论】:
标签: reactjs