input = file 實現上傳文件

使用input = file實現文件上傳功能, 若是點擊提交按鈕,提交表單並上傳選中的文件: ios <FormItem label="上傳簡歷"> <div className="section-pushInChannel-fileInput"> <input id="file" onChange={this.handleFileChange} type="file"
相關文章
相關標籤/搜索