1.input输入框绑定ref来做文件上传功能,由a标签触发fileChange函数,用css控制input隐藏
2.转换成formData参数来提交。设置请求头 Content-Type:multipart/form-data