upload files locally using input type= "file", usually write
<form>
<input type="file" onChange={this.handleFileChange.bind(this)}/>
<input type="reset" ref={(input) => this.reset=input} className="reset" />
</form>
The event taken by is onChange, and the parameter e, e.target.files [0] can get the file, if the file is large! Which events can be used to display the loading status, such as what events will happen when I select the file and what events will happen when the file comes back? I"ve been looking for this for a long time, but I can"t find any information! So let me ask you something.